View Single Post
  #4  
Old April 24th, 2008, 07:47 PM
cfr cfr is offline
Registered User
 
Join Date: Jul 2005
Posts: 55
Thanks: 0
Thanked 0 Times in 0 Posts
cfr is on a distinguished road
Did you sort this out?

The problem is that "cd /data/" tries to change you into a directory named "data" at the root level - not /usr/local/mysql/data.

To access the data directory, you will need to issue "sudo cd /usr/local/mysql/data" while logged in as an admin. It will ask for your password. You will probably need to use sudo to read the error log, too.

When you have finished using sudo, type "sudo -k" to end the authorisation. (It will time out anyway, but it is safer not to wait.)

Be careful with sudo - it allows you to issue any command as though you were the root or superuser. You could, for example, delete everything on your hard drvie including the OS itself.

Hope you solved this before now, but maybe somebody will find this helpful...

- cfr
Reply With Quote