Solve the problem of "ALTER USER" SQL query in MariaDB
P粉908138620
P粉908138620 2023-08-26 09:07:12
0
1
544
<p>I am trying to execute a command in mysql console. </p> <blockquote> <p>Change user "root"@"localhost" identified with mysql_native_password 'Password';</p> </blockquote> <p>But I got this error. </p> <blockquote> <p>There is an error in your SQL syntax; check the manual Corresponds to your MariaDB server version so that the correct syntax is used Line 1 near "BY 'pass'"</p> </blockquote> <p>Version: 10.3.22-MariaDB-1ubuntu1 Ubuntu 20.04</p>
P粉908138620
P粉908138620

reply all(1)
P粉012875927
ALTER USER 'root'@'localhost' IDENTIFIED BY 'pass';
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!