Updating MySQL from 4.0.21 to 5.0.15
Then I tried to set the root password following the directions here.
Then I tried the following line in the command line
mysql -u root
This gives me the error...
ERROR 1045: Access denied for user 'root'@'localhost' (using password: NO)
If I type in
mysql -u root -p
And type in my password, I get the error...
ERROR 1251: Client does not support authentication protocol requested by server; consider upgrading MySQL client
Then I followed the directions here for resetting the root password.
When I follow the directions and create the text file "test" and run this command, here is what I get...
mysqld_safe --init-file=test &
[1] 756
touch: /Library/MySQL/var/myhost.err: Permission denied
cat: /Library/MySQL/var/myhost.pid: Permission denied
rm: /Library/MySQL/var/myhost.pid: Permission denied
Fatal error: Can't remove the pid file: /Library/MySQL/var/myhost.pid
/Library/MySQL/bin/mysqld_safe: line 275: /Library/MySQL/var/myhost.err: Permission denied
Please remove it manually and start /Library/MySQL/bin/mysqld_safe again
mysqld daemon not started
Please help anyone. I just want to get this new version of MySQL 5.0 up and running. Thank you.