View Single Post
  #2   (View Single Post)  
Old 23rd July 2008
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Tcpdump Spy
 
Join Date: Apr 2008
Location: Netherlands
Posts: 2,243
Default

You always need to run mysql_install_db after first installing MySQL ... Nothing new there ...

Quote:
Usually the datadir is /var/db/mysql but I think nowadays it has changed to somewhere in /usr/local others can help out here.
Bleh?

From /ports/databases/mysql51-server/files/mysql-server.sh.in

Code:
# mysql_dbdir (str):	Default to "/var/db/mysql"
#			Base database directory.
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote