On Sunday 30 September 2001 7:45 pm, Brandon Caudle wrote:
sorry for the slow response, i have php3 not php4 look http://64.192.99.49/php, now about mysql
I see that PHP3 is installed and working. Don't forget to remove the files!
BTW, your PHP4 file should have contained the following:
<? phpinfo(); ?>
(I think you'd be better off with PHP4 unless there's a specific reason for
the depreciated version).
On to mySQL:
Install the following packages using YaST or rpm -ivh:
perl_dbi.rpm
mysql.rpm
mysqldev.rpm
mysqllib.rpm
mysqlclnt.rpm
mysqlperl.rpm
If you use rpm, don't forget to run SuSEconfig.
This is for SuSE 7.1 (which I think you are running - different in 7.2):
Change START_MYSQL = "yes" in /etc/rc.config if you want the server to run
automatically at start-up. Otherwise, /sbin/init.d/mysql start (note the
readme file in its place later versions). To check it's running type ping
mysql.
You then need to set the root password:
mysqladmin -u root password newpassword
You start the mysql client with:
mysql -u root --password=yourpassword
You will see the mysql> prompt where you can create databases and run queries
etc. I guess you will also want to set-up an account for your friend. I've
never needed to do this so I'll have to give it some though. However, I would
suggest that only you can create databases. Maybe you will want to setup
phpmyadmin? Let me know how you get on with this and I'll pick it up again
tomorrow (it's late here) unless someone else can help in the mean time.
M
--
Martin Webster
participants (1)
-
Martin Webster