Author Topic: Help my database folder gone  (Read 2569 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Help my database folder gone
« on: February 08, 2021, 12:46:29 AM »
Hi guys, please help me,
i try to edit /root/.my.cnf
after that, i cant access my root panel and its say error :

Warning: mysqli_connect(): (HY000/2002): No such file or directory in /usr/local/cwpsrv/htdocs/resources/admin/include/functions.php on line 0

Warning: mysqli_connect(): (HY000/2002): No such file or directory in /usr/local/cwpsrv/htdocs/resources/admin/include/functions.php on line 0

Warning: mysqli_connect(): (HY000/2002): No such file or directory in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0

Warning: mysqli_connect(): (HY000/2002): No such file or directory in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0


Trying to start mysql server, please wait!
Try to restart CentOS Web Panel with command: sh /scripts/restart_cwpsrv

**Check your MySQL root password in: /usr/local/cwpsrv/htdocs/resources/admin/include/db_conn.php and /root/.my.cnf


Warning: mysqli_error() expects exactly 1 parameter, 0 given in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0
Could not connect:


pls help, my website also cant access database. i try to restart centos, but cant fix it.

Offline
*****
Re: Help my database folder gone
« Reply #1 on: February 08, 2021, 11:20:40 AM »
Try to use the script /scripts/mysql_pwd_reset
You can ask me to solve any problem with your server for some money in pm  ;)
Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor
Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp

Installation Instructions
http://centos-webpanel.com/installation-instructions
Get Fast Support Here
http://centos-webpanel.com/support-services

Offline
*
Re: Help my database folder gone
« Reply #2 on: February 09, 2021, 07:46:43 AM »
Try to use the script /scripts/mysql_pwd_reset
i reinstall my cwp, and i have more problem sir. can u please help me here http://forum.centos-webpanel.com/index.php?topic=10228.0