Hi, I'm having problems with doing this as everything I google seems very out of date, for example, the commands don't seem to work. Having logged in as root in SSH
mysql -u da_admin -p and using my Direct Admin login password returns:
ERROR 1045 (28000): Access denied for user 'da_admin'@'localhost' (using password: YES)
This all started as uploading an sql dump is throwing a 500 error. I somehow broke something (although I can't remember what) as a result of a PHP My Admin error that said something about maximum vars and warning me that my sql dump may effectively be corrupted.
Ubuntu 22.04 and latest DirectAdmin release.
I've got into rather a mess!
Edit: I found the following instructions: https://docs.directadmin.com/other-hosting-services/mariadb-mysql/troubleshooting.html
But when I got to
root@server:~# mysql mysql -e "UPDATE mysql.user SET authentication_string=PASSWORD('rootpass') WHERE user='root'; FLUSH PRIVILEGES;"
--------------
UPDATE mysql.user SET authentication_string=PASSWORD('rootpass') WHERE user='root'
--------------
ERROR 1348 (HY000) at line 1: Column 'authentication_string' is not updatable
root@server:~#
Thanks and Kind Regards.
mysql -u da_admin -p and using my Direct Admin login password returns:
ERROR 1045 (28000): Access denied for user 'da_admin'@'localhost' (using password: YES)
This all started as uploading an sql dump is throwing a 500 error. I somehow broke something (although I can't remember what) as a result of a PHP My Admin error that said something about maximum vars and warning me that my sql dump may effectively be corrupted.
Ubuntu 22.04 and latest DirectAdmin release.
I've got into rather a mess!
Edit: I found the following instructions: https://docs.directadmin.com/other-hosting-services/mariadb-mysql/troubleshooting.html
But when I got to
root@server:~# mysql mysql -e "UPDATE mysql.user SET authentication_string=PASSWORD('rootpass') WHERE user='root'; FLUSH PRIVILEGES;"
--------------
UPDATE mysql.user SET authentication_string=PASSWORD('rootpass') WHERE user='root'
--------------
ERROR 1348 (HY000) at line 1: Column 'authentication_string' is not updatable
root@server:~#
Thanks and Kind Regards.
Last edited: