I\'m trying to update the password for a database user using the command line, and it\'s not working for me. This is the code I\'m using:
mysql> UPDATE user S
Your login root should be /usr/local/directadmin/conf/mysql.conf. Then try following
/usr/local/directadmin/conf/mysql.conf
UPDATE mysql.user SET password=PASSWORD('$w0rdf1sh') WHERE user='tate256' AND Host='10.10.2.30'; FLUSH PRIVILEGES;
Host is your mysql host.