Control Web Panel
WebPanel => PHP => Topic started by: vivekan on September 15, 2017, 04:15:26 PM
-
Hello to all users of CWP,
I have met a problem with my PHP + mysql that I own by a second developer.
When i try to connect to mysql over php script i get the message first of
PHP User can't change the permitions of the directories. [If i go and fix Permission at CWP Panel for both "nobody" + "user" it will pop up message > Can't connect to DataBase. Please check connection data.]
Any thoughts?
-
Is MySQL service running on the server?
service mysql status
-
root@server ~]# service mysql status
ERROR! MySQL is not running, but lock file (/var/lock/subsys/mysql) exists
-
you need to check your mysql server it can be that its dead or over connection limit number...but you need to check it before restarting
-
Problem is that i have already tried to re-install it over 10 times and same resaults.
Cent OS 6 & 7 x86 and x64 versions always end up with this problem.
any way to reset it somehow?