Monday, August 23, 2010

mySQL installation

Have been struggling to install the MySQL Binary version in Linux. Wow..what a challenge..thought the source was the difficult one.

Basically..follow the instructions in mySQL website. but need to do more..

/usr/local/mysql/> sudo scripts/my_install_db --user=mysql --basedir=/usr/local/mysql

/usr/local/mysql> sudo bin/mysqld --user=mysql --basedir=/usr/local/mysql

need to set .profile as well
mkdir $HOME/bin
PATH=/usr/local/mysql/bin:/usr/local/mysql

No comments: