Hello
I own a VPS configured by Directadmin. I have only one IP address and a domain name for it.
Just a couple of hours ago, I was trying to solve the problem of not being able to enter mysql as root. I got the following error:
which I received after I issued:
To access mysql I did as I was instructed in http://forum.directadmin.com/showthread.php?t=24417.
However, after issuing the command
I could no longer access my website or directadmin panel through the domain name, though I can get to the DA panel by the IP.
I am not sure if that was the cause of the problem but now I do not know how to go about troubleshooting my broken website.
Please help me with this problem.
Thanks in advance.
PS:
It may help to say that I originally needed to access mysql as root because I wanted to convert Converting InnoDB tables to Barracuda for my Moodle installation. The details are described here: https://moodle.org/mod/forum/discuss.php?d=312863
I own a VPS configured by Directadmin. I have only one IP address and a domain name for it.
Just a couple of hours ago, I was trying to solve the problem of not being able to enter mysql as root. I got the following error:
Code:
[B]ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)[/B]
which I received after I issued:
Code:
[B]mysql -u root -p[/B]
To access mysql I did as I was instructed in http://forum.directadmin.com/showthread.php?t=24417.
However, after issuing the command
Code:
mysql --user=`grep "^user=" /usr/local/directadmin/conf/mysql.conf | cut -d= -f2` --password=`grep "^passwd=" /usr/local/directadmin/conf/mysql.conf | cut -d= -f2`
I could no longer access my website or directadmin panel through the domain name, though I can get to the DA panel by the IP.
I am not sure if that was the cause of the problem but now I do not know how to go about troubleshooting my broken website.
Please help me with this problem.
Thanks in advance.
PS:
It may help to say that I originally needed to access mysql as root because I wanted to convert Converting InnoDB tables to Barracuda for my Moodle installation. The details are described here: https://moodle.org/mod/forum/discuss.php?d=312863
Last edited: