server couldn't connect to mysql

wikionline

Registered
Mar 2, 2014
1
0
1
cPanel Access Level
Root Administrator
hi all
i have problem in my server all of my websites on server couldn't connect to mysql any body can help me what should i do ?
so when i want install new script couldn't connect to database !
please help me
regards
 

cPanelPeter

Senior Technical Analyst
Staff member
Sep 23, 2013
585
25
153
cPanel Access Level
Root Administrator
Hello,

Please review the log file in /var/log/mysql/$HOSTNAME.err ($HOSTNAME is your hostname)
And also review the error_log file in /usr/local/apache/logs

These should tell you why you can not connect.