Sunday, September 30, 2007

about MySQL4.1.22

My sakai is running on MySql4.1.22.
Here are some tips worth of memorizing:

-2. Unzip mysql4.1.22 package to a proper directory, say "/opt/mysql4.1.22", which equals to {MySQL_HOME}

-1.set ${MySQL_HOME} into ${PATH};

0. run "${MySQL_HOME}/configure" first;

1.(*** !!!that's it!!! ***) About socket error "ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)"
-- if this occurs, no need to do anything but kill the process "mysqld", and wait until no mysql processes are running;

2. set "root" user if you didn't -- using command "mysql -u root password mysqlpwd1";

3. run mysql.

No comments: