Hi everyone,
Here's where I'm at so far:
I have d/l and installed the PHP module from Mark Liyanage (http://www.entropy.ch/software/macosx/php/).
I have d/l and installed the MySQL pkg file from MySQL.com (the one for OSX)
I have been following a tutorial on MacWorld's site that I remembered reading a while ago: http://www.macworld.com/2002/11/features/database/
Here's what IS working:
PHP is installed and running - accessing the test.php file I created gives me the page Mark says it will on his site (also in the MacWorld tut).
MySQL is installed and the PrefPane says it is running. (Startup item was also installed)
Here is the problem:
In the Macworld Tutorial (and others I've seen online), you set up your password in the config.inc.php file, which I did. I also set up the $cfg['Servers'][]['auth_type'] = 'config'; line to read "http" between the single quotes. When I try to connect to MySQL through PHP MyAdmin it says the password is incorrect. So back to the MacWrold tut, it says to set your password in MySQL by typing the command:
rehash; mysqladmin -u root password newpassword
where newpassword is the password that you put in the config file. Problem is, this tut was written when the shell was tcsh and not bash. bash doesn't like the rehash command, and hash doesn't work properly with the commands that follow it.
First thing I tried was to try what they suggest in the MacWorld tut to test and see if the MySQL install really _was_ running, and went to Terminal and typed mysql -u root -p. Password _still_ doesn't work.
Suggestions?
Thanks in advance for taking time to read this!
:m
Here's where I'm at so far:
I have d/l and installed the PHP module from Mark Liyanage (http://www.entropy.ch/software/macosx/php/).
I have d/l and installed the MySQL pkg file from MySQL.com (the one for OSX)
I have been following a tutorial on MacWorld's site that I remembered reading a while ago: http://www.macworld.com/2002/11/features/database/
Here's what IS working:
PHP is installed and running - accessing the test.php file I created gives me the page Mark says it will on his site (also in the MacWorld tut).
MySQL is installed and the PrefPane says it is running. (Startup item was also installed)
Here is the problem:
In the Macworld Tutorial (and others I've seen online), you set up your password in the config.inc.php file, which I did. I also set up the $cfg['Servers'][]['auth_type'] = 'config'; line to read "http" between the single quotes. When I try to connect to MySQL through PHP MyAdmin it says the password is incorrect. So back to the MacWrold tut, it says to set your password in MySQL by typing the command:
rehash; mysqladmin -u root password newpassword
where newpassword is the password that you put in the config file. Problem is, this tut was written when the shell was tcsh and not bash. bash doesn't like the rehash command, and hash doesn't work properly with the commands that follow it.
First thing I tried was to try what they suggest in the MacWorld tut to test and see if the MySQL install really _was_ running, and went to Terminal and typed mysql -u root -p. Password _still_ doesn't work.
Suggestions?
Thanks in advance for taking time to read this!
:m