If you get the error described in the heading, you can overcome this problem by doing the following
Be sure to change the path’s to reflect your own setup
rm -rf /pathtodatadir then cd /usr/local/mysql1/bin ./mysql_install_db --user=mysql --ldata=/sqldata ./mysqld_safe --datadir=/sqldata --user=mysql &; |
I go this solution from this page.
Cheers
Thank you this workd, but the last command should be :
./mysqld_safe –datadir=/sqldata –user=mysql &
Ah, my mistake! That’s what happens when you copy/paste…
Thanks for the heads-up, will fix right now!