Knowledge Base
Search
New article
Authentication is disabled (development mode).
Edit article
Title
Tags
Content
<pre><code class="language-bash">sudo mysqld_safe --skip-grant-tables & mysql --user=root --password=password <<"EOF" USE `mysql`; UPDATE `user` SET `Grant_priv` = 'Y' WHERE `User` = 'root'; EOF sudo kill $! # check: SHOW GRANTS FOR 'root'@'localhost';</code></pre>
Save
Cancel