http://help.directadmin.com/item.php?id=12
i tried to follow that but when i get to the part starting mysql i get
[root@server var]# cd /home
[root@server home]#
[root@server home]# mkdir mysql
[root@server home]# chown mysql:mysql mysql
[root@server home]# cd mysql
[root@server mysql]# /sbin/service mysqld stop
Shutting down MySQL SUCCESS!
[root@server mysql]# cp -Rp /var/lib/mysql/* .
[root@server mysql]# cd /var/lib
[root@server lib]# mv mysql mysql_old
[root@server lib]# ln -s /home/mysql ./mysql
[root@server lib]# /sbin/service mysqld start
Starting MySQL................................... ERROR!
[root@server lib]# /sbin/service mysqld start
Starting MySQL................................... ERROR!
[root@server lib]# /sbin/service mysqld start
Starting MySQL................................... ERROR!
[root@server lib]# /sbin/service mysqld restart
ERROR! MySQL PID file could not be found!
Starting MySQL................................... ERROR!
[root@server lib]# service mysql restart
mysql: unrecognized service
[root@server lib]# service mysql start
mysql: unrecognized service
[root@server lib]# /etc/rc.d/init.d/mysql start
-bash: /etc/rc.d/init.d/mysql: No such file or directory
Can anyone help?
i tried to follow that but when i get to the part starting mysql i get
[root@server var]# cd /home
[root@server home]#
[root@server home]# mkdir mysql
[root@server home]# chown mysql:mysql mysql
[root@server home]# cd mysql
[root@server mysql]# /sbin/service mysqld stop
Shutting down MySQL SUCCESS!
[root@server mysql]# cp -Rp /var/lib/mysql/* .
[root@server mysql]# cd /var/lib
[root@server lib]# mv mysql mysql_old
[root@server lib]# ln -s /home/mysql ./mysql
[root@server lib]# /sbin/service mysqld start
Starting MySQL................................... ERROR!
[root@server lib]# /sbin/service mysqld start
Starting MySQL................................... ERROR!
[root@server lib]# /sbin/service mysqld start
Starting MySQL................................... ERROR!
[root@server lib]# /sbin/service mysqld restart
ERROR! MySQL PID file could not be found!
Starting MySQL................................... ERROR!
[root@server lib]# service mysql restart
mysql: unrecognized service
[root@server lib]# service mysql start
mysql: unrecognized service
[root@server lib]# /etc/rc.d/init.d/mysql start
-bash: /etc/rc.d/init.d/mysql: No such file or directory
Can anyone help?