Author Topic: I can not start Mysql  (Read 8992 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
I can not start Mysql
« on: February 06, 2017, 04:59:35 AM »


and

Offline
*****
Re: I can not start Mysql
« Reply #1 on: February 06, 2017, 05:33:21 AM »
check the error log

Offline
***
Re: I can not start Mysql
« Reply #2 on: February 20, 2017, 04:23:23 PM »


and


1. You need to add your hostname :
# hostname sub.domain.com

2. You need to add your public IP to hosts:
# nano /etc/hosts
Add this line
YOUR_SERVER_PUBLIC_IP your_hostname
(ex:  123.233.121.23 ns1.mydomainname.com)

3. You need to add ServerName in your Cwp conf file
# nano /usr/local/cwpsrv/conf/httpd.conf
Add this line:   ServerName your_hostname

If your hostname is reverted to default every time you reboot your server (in your image I see it's ...linode.com), then have a look on this post : http://forum.centos-webpanel.com/centos-6-problems/change-hostname-and-reset-when-reboot-vps/msg5377/#msg5377

One more thing, you need to autostart cwpsrv evertime you reboot the system:
# chkconfig cwpserv on

« Last Edit: February 20, 2017, 04:30:12 PM by locvfx »