{"id":2753,"date":"2021-12-26T09:06:02","date_gmt":"2021-12-26T17:06:02","guid":{"rendered":"https:\/\/192.168.1.30\/wordpress\/?p=2753"},"modified":"2021-12-26T10:28:16","modified_gmt":"2021-12-26T18:28:16","slug":"update-mariadb-phpmyadmin-pw","status":"publish","type":"post","link":"https:\/\/spiffynasty.com\/blahblahblah\/update-mariadb-phpmyadmin-pw\/","title":{"rendered":"Update MariaDB + PhpMyAdmin PW"},"content":{"rendered":"<p>UserAccounts &#8211; root\/localhost user &#8211; edit privileges<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2789\" src=\"https:\/\/192.168.1.30\/wordpress\/wp-content\/uploads\/2021\/12\/Q6Swilm-4.png\" width=\"1358\" height=\"942\" alt=\"image-20211226075719051\" srcset=\"https:\/\/spiffynasty.com\/blahblahblah\/wp-content\/uploads\/2021\/12\/Q6Swilm-4.png 1358w, https:\/\/spiffynasty.com\/blahblahblah\/wp-content\/uploads\/2021\/12\/Q6Swilm-4-800x555.png 800w, https:\/\/spiffynasty.com\/blahblahblah\/wp-content\/uploads\/2021\/12\/Q6Swilm-4-300x208.png 300w, https:\/\/spiffynasty.com\/blahblahblah\/wp-content\/uploads\/2021\/12\/Q6Swilm-4-768x533.png 768w, https:\/\/spiffynasty.com\/blahblahblah\/wp-content\/uploads\/2021\/12\/Q6Swilm-4-600x416.png 600w\" sizes=\"auto, (max-width: 1358px) 100vw, 1358px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>Hit Change Password &#8211; <\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2790\" src=\"https:\/\/192.168.1.30\/wordpress\/wp-content\/uploads\/2021\/12\/UlbNJES-4.png\" width=\"1482\" height=\"322\" alt=\"image-20211226075856971\" srcset=\"https:\/\/spiffynasty.com\/blahblahblah\/wp-content\/uploads\/2021\/12\/UlbNJES-4.png 1482w, https:\/\/spiffynasty.com\/blahblahblah\/wp-content\/uploads\/2021\/12\/UlbNJES-4-800x174.png 800w, https:\/\/spiffynasty.com\/blahblahblah\/wp-content\/uploads\/2021\/12\/UlbNJES-4-1440x313.png 1440w, https:\/\/spiffynasty.com\/blahblahblah\/wp-content\/uploads\/2021\/12\/UlbNJES-4-300x65.png 300w, https:\/\/spiffynasty.com\/blahblahblah\/wp-content\/uploads\/2021\/12\/UlbNJES-4-768x167.png 768w, https:\/\/spiffynasty.com\/blahblahblah\/wp-content\/uploads\/2021\/12\/UlbNJES-4-600x130.png 600w\" sizes=\"auto, (max-width: 1482px) 100vw, 1482px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>Update Password<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2792\" src=\"https:\/\/192.168.1.30\/wordpress\/wp-content\/uploads\/2021\/12\/ujeV1NA.png\" width=\"1318\" height=\"1106\" alt=\"image-20211226075928864\" srcset=\"https:\/\/spiffynasty.com\/blahblahblah\/wp-content\/uploads\/2021\/12\/ujeV1NA.png 1318w, https:\/\/spiffynasty.com\/blahblahblah\/wp-content\/uploads\/2021\/12\/ujeV1NA-800x671.png 800w, https:\/\/spiffynasty.com\/blahblahblah\/wp-content\/uploads\/2021\/12\/ujeV1NA-300x252.png 300w, https:\/\/spiffynasty.com\/blahblahblah\/wp-content\/uploads\/2021\/12\/ujeV1NA-768x644.png 768w, https:\/\/spiffynasty.com\/blahblahblah\/wp-content\/uploads\/2021\/12\/ujeV1NA-600x503.png 600w\" sizes=\"auto, (max-width: 1318px) 100vw, 1318px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>Changes root for mariaDB and phpmyadmin &#8211; so relogin<\/p>\n<p>&nbsp;<\/p>\n<p>+++++++++++++++++++++++++++++<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><a href='https:\/\/amigotechnotes.wordpress.com\/2016\/06\/20\/change-default-password-for-mysqlmariadb-and-phpmyadmin-on-nas\/' target='_blank' class='url' rel=\"noopener\">https:\/\/amigotechnotes.wordpress.com\/2016\/06\/20\/change-default-password-for-mysqlmariadb-and-phpmyadmin-on-nas\/<\/a><\/p>\n<h3 id='change-default-password-for-mysqlmariadb-and-phpmyadmin-on-nas'>Change Default Password for MySQL\/MariaDB and phpMyAdmin on NAS<\/h3>\n<p><a href='https:\/\/amigotechnotes.wordpress.com\/2016\/06\/20\/change-default-password-for-mysqlmariadb-and-phpmyadmin-on-nas\/'>2016\/06\/20<\/a> <a href='https:\/\/amigotechnotes.wordpress.com\/author\/startuphelps-2\/'>Amigo<\/a> <a href='https:\/\/amigotechnotes.wordpress.com\/category\/how-to\/'>How-To<\/a>, <a href='https:\/\/amigotechnotes.wordpress.com\/category\/information\/'>Information<\/a><a href='https:\/\/amigotechnotes.wordpress.com\/tag\/asustor\/'>Asustor<\/a>, <a href='https:\/\/amigotechnotes.wordpress.com\/tag\/mariadb\/'>MariaDB<\/a>, <a href='https:\/\/amigotechnotes.wordpress.com\/tag\/mysql\/'>MySQL<\/a>, <a href='https:\/\/amigotechnotes.wordpress.com\/tag\/nas\/'>NAS<\/a>, <a href='https:\/\/amigotechnotes.wordpress.com\/tag\/password\/'>password<\/a>, <a href='https:\/\/amigotechnotes.wordpress.com\/tag\/phpmyadmin\/'>phpMyAdmin<\/a>, <a href='https:\/\/amigotechnotes.wordpress.com\/tag\/qnap\/'>QNAP<\/a>, <a href='https:\/\/amigotechnotes.wordpress.com\/tag\/synology\/'>Synology<\/a><\/p>\n<p>&nbsp;<\/p>\n<p>I always need to look for the default password for <a href='https:\/\/mariadb.org\/'>MariaDB<\/a> and <a href='https:\/\/www.phpmyadmin.net\/'>phpMyAdmin<\/a> in my NAS. There is no hint at all. Some even change the rules after upgrade. Therefore, I write a note here and share to save your time. This page would be continuously maintained.<\/p>\n<p>&nbsp;<\/p>\n<h3 id='asustor'>Asustor<\/h3>\n<p>You don\u2019t need to install <a href='https:\/\/mariadb.org\/'>MariaDB<\/a> which is already build-in in <a href='http:\/\/www.asustor.com\/adm'>ADM<\/a>. Open <strong>Services<\/strong> \u2192 <strong>MariaDB S*<\/strong>*erver<strong>, select <\/strong>\u201cEnable MariaDB server\u201d<strong>, and click <\/strong>\u201cApply\u201d** to launch.<\/p>\n<p>If your application and <a href='https:\/\/mariadb.org\/'>MariaDB<\/a> run on the same machine, there is no need to select <strong>\u201cEnable MariaDB remote access\u201d<\/strong>. More detail, please read <a href='https:\/\/amigotechnotes.wordpress.com\/2014\/03\/21\/using-nas-as-your-database-server\/'>Using NAS as your Database Server<\/a>.<\/p>\n<p>About <a href='https:\/\/www.phpmyadmin.net\/'>phpMyAdmin<\/a>, you need to register an <strong>Asustor ID<\/strong> in <strong>Settings<\/strong> \u2192 <strong>Registration<\/strong>. Then to install it from <strong>App Central<\/strong> first. In 2016\/6\/19, the <a href='https:\/\/www.phpmyadmin.net\/'>phpMyAdmin<\/a> is 4.0.1.<\/p>\n<h4 id='default-1'>Default<\/h4>\n<figure>\n<table>\n<thead>\n<tr>\n<th>&nbsp;<\/th>\n<th><strong>ADM 2.6.1 R5h3<\/strong><\/th>\n<th>&nbsp;<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><strong>MySQL<\/strong><\/td>\n<td>root\/admin<\/td>\n<td>&nbsp;<\/td>\n<\/tr>\n<tr>\n<td><strong>phpMyAdmin<\/strong><\/td>\n<td>root\/admin<\/td>\n<td>&nbsp;<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/figure>\n<h4 id='reset-mysql-root-password-in-adm-261'>Reset MySQL root Password in ADM 2.6.1<\/h4>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2777\" src=\"https:\/\/192.168.1.30\/wordpress\/wp-content\/uploads\/2021\/12\/yoaJ9yg-2.png\" width=\"561\" height=\"309\" alt=\"Reset MySQL in ADM\" srcset=\"https:\/\/spiffynasty.com\/blahblahblah\/wp-content\/uploads\/2021\/12\/yoaJ9yg-2.png 561w, https:\/\/spiffynasty.com\/blahblahblah\/wp-content\/uploads\/2021\/12\/yoaJ9yg-2-300x165.png 300w\" sizes=\"auto, (max-width: 561px) 100vw, 561px\" \/>Reset MySQL in ADM<\/p>\n<p>Open <strong>Services \u2192 *<em>MariaDB S*<\/em>*<em>erver*<\/em><\/strong>, click <strong>\u201cReset Password\u201d<\/strong> then <strong>\u201cOK\u201d<\/strong> to confirm. It will remind you the password for <a href='https:\/\/www.mysql.com\/'>MySQL<\/a> has been changed into default <strong>\u201cadmin\u201d<\/strong>.<\/p>\n<h4 id='change-password-for-mariadb-and-phpmyadmin-in-adm-261'>Change Password for MariaDB and phpMyAdmin in ADM 2.6.1<\/h4>\n[<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2778\" src=\"https:\/\/192.168.1.30\/wordpress\/wp-content\/uploads\/2021\/12\/ilKxpO1-2.png\" width=\"562\" height=\"337\" alt=\"Edit user privileges in phpMyAdmin 4.0.1\" srcset=\"https:\/\/spiffynasty.com\/blahblahblah\/wp-content\/uploads\/2021\/12\/ilKxpO1-2.png 562w, https:\/\/spiffynasty.com\/blahblahblah\/wp-content\/uploads\/2021\/12\/ilKxpO1-2-300x180.png 300w\" sizes=\"auto, (max-width: 562px) 100vw, 562px\" \/>]\n[<\/p>\n<p>(<a href='https:\/\/amigotechnotes.files.wordpress.com\/2016\/06\/edit-user-privileges-in-phpmyadmin-4-0-1.png)Edit' target='_blank' class='url' rel=\"noopener\">https:\/\/amigotechnotes.files.wordpress.com\/2016\/06\/edit-user-privileges-in-phpmyadmin-4-0-1.png)Edit<\/a> user privileges in phpMyAdmin 4.0.1<\/p>\n<p>There is no build-in tools to customize <a href='https:\/\/mariadb.org\/'>MariaDB<\/a>\u2018s password. You will need <a href='https:\/\/www.phpmyadmin.net\/'>phpMyAdmin<\/a>. Login and click on <strong>\u201cUsers\u201d<\/strong> tab. Click the <strong>\u201cEdit privileges\u201d<\/strong> which is next to root user at localhost.<\/p>\n[<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2779\" src=\"https:\/\/192.168.1.30\/wordpress\/wp-content\/uploads\/2021\/12\/UHFawNE-2.png\" width=\"700\" height=\"218\" alt=\"Change user password in phpMyAdmin 4.0.1\" srcset=\"https:\/\/spiffynasty.com\/blahblahblah\/wp-content\/uploads\/2021\/12\/UHFawNE-2.png 700w, https:\/\/spiffynasty.com\/blahblahblah\/wp-content\/uploads\/2021\/12\/UHFawNE-2-300x93.png 300w, https:\/\/spiffynasty.com\/blahblahblah\/wp-content\/uploads\/2021\/12\/UHFawNE-2-600x187.png 600w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/>]\n<p>&nbsp;<\/p>\n[(<a href='https:\/\/amigotechnotes.files.wordpress.com\/2016\/06\/change-user-password-in-phpmyadmin-470-1.png)Change' target='_blank' class='url' rel=\"noopener\">https:\/\/amigotechnotes.files.wordpress.com\/2016\/06\/change-user-password-in-phpmyadmin-470-1.png)Change<\/a> user password in phpMyAdmin 4.0.1<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2780\" src=\"https:\/\/192.168.1.30\/wordpress\/wp-content\/uploads\/2021\/12\/HduaWY9-2.png\" width=\"429\" height=\"249\" alt=\"Change user password in phpMyAdmin 4.0.1\" srcset=\"https:\/\/spiffynasty.com\/blahblahblah\/wp-content\/uploads\/2021\/12\/HduaWY9-2.png 429w, https:\/\/spiffynasty.com\/blahblahblah\/wp-content\/uploads\/2021\/12\/HduaWY9-2-300x174.png 300w\" sizes=\"auto, (max-width: 429px) 100vw, 429px\" \/><\/p>\n<p>Scroll down until <strong>\u201cChange password\u201d<\/strong> section, provide your new password in these fields. Then press <strong>\u201cGo\u201d<\/strong> which is on lower right in the same section to execute.<\/p>\n<p>Once <a href='https:\/\/mariadb.org\/'>MariaDB<\/a>\u2018s password has been changed, <a href='https:\/\/www.phpmyadmin.net\/'>phpMyAdmin<\/a> is changed to the same new password.<\/p>\n<p>If you want change the authentication from <strong>cookie<\/strong> to <strong>http<\/strong> or <strong>config<\/strong>, you may copy from <strong>config.sample.inc.php<\/strong> to <strong>config.inc.php<\/strong> which is located in <strong>\/share\/Web\/phpMyAdmin<\/strong>. Then edit it manually. <a href='https:\/\/wiki.phpmyadmin.net\/pma\/Auth_types'>Auth types<\/a> and <a href='http:\/\/docs.phpmyadmin.net\/en\/latest\/config.html#cookie-authentication-options'>Cookie authentication options<\/a> provides detail description.<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<figure>\n<table>\n<thead>\n<tr>\n<th><strong>How to reconfigure the password of root account in MariaDB<\/strong><\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>How to reconfigure the password of root account in MariaDB <br \/>================================================================<\/p>\n<p>1. Go to ADM\\Services\\MariaDB Server to stop the MariaDB service  <\/p>\n<p>2. Use ssh to login into the NAS by &quot;root&quot; account   <\/p>\n<p>3. Run the mysql service without permission: <br \/>root@AS7004T# mysqld_safe &#8211;skip-grant-tables &#8211;skip-networking &amp;   <\/p>\n<p>4. Login into the mysql by root root@AS7004T#mysql -u root  <br \/>Below is what you will see in the console: <\/p>\n<p> Welcome to the MariaDB monitor. Commands end with ; or \\g. Your MariaDB connection id is 2 Server version: 10.0.28-MariaDB Source distribution Copyright (c) 2000, 2016, Oracle, MariaDB Corporation Ab and others. Type &#39;help;&#39; or &#39;\\h&#39; for help. Type &#39;\\c&#39; to clear the current input statement.   <\/p>\n<p>5. Flush the privileges =&gt; <br \/>MariaDB [(none)]&gt; FLUSH PRIVILEGES;  <\/p>\n<p> 6. Alter the passwords: <br \/>Example: =&gt; <br \/>We set the pass as admin for root  <br \/>MariaDB [(none)]&gt; ALTER USER &#39;root&#39;@&#39;localhost&#39; IDENTIFIED BY &#39;admin&#39;; <br \/>MariaDB [(none)]&gt; SET PASSWORD FOR &#39;root&#39;@&#39;localhost&#39; = PASSWORD(&#39;admin&#39;);   <br \/>MariaDB [(none)]&gt; UPDATE mysql.user SET authentication_string = PASSWORD(&#39;admin&#39;) WHERE User = &#39;root&#39; AND Host = &#39;localhost&#39;;  <\/p>\n<p> 7. Go to ADM\\Services\\MariaDB to enable the MariaDB<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/figure>\n<p>&nbsp;<\/p>\n<h3 id='qnap'>QNAP<\/h3>\n<p>You don\u2019t need to install <a href='https:\/\/www.mysql.com\/'>MySQL<\/a> which is already build-in in <a href='https:\/\/www.qnap.com\/i\/useng\/qts4\/con_show.php?op=showone&amp;cid=1'>QTS<\/a>. Open <strong>Control Panel<\/strong> \u2192 <strong>Applications<\/strong> \u2192 <strong>SQL server<\/strong>, select <strong>\u201cEnable SQL server\u201d<\/strong>, and click <strong>\u201cApply\u201d<\/strong> to launch.<\/p>\n<p>If your application and <a href='https:\/\/www.mysql.com\/'>MySQL<\/a> run on the same machine, there is no need to select <strong>\u201cEnable TCP\/IP networking\u201d<\/strong>. More detail, please read <a href='https:\/\/amigotechnotes.wordpress.com\/2014\/03\/21\/using-nas-as-your-database-server\/'>Using NAS as your Database Server<\/a>.<\/p>\n<p>About <a href='https:\/\/www.phpmyadmin.net\/'>phpMyAdmin<\/a>, you need to install it from <strong>App Center<\/strong> first. In 2016\/6\/19, the <a href='https:\/\/www.phpmyadmin.net\/'>phpMyAdmin<\/a> is 4.2.3.<\/p>\n<h4 id='default-2'>Default<\/h4>\n<figure>\n<table>\n<thead>\n<tr>\n<th>&nbsp;<\/th>\n<th><strong>QTS 4.2<\/strong><\/th>\n<th>&nbsp;<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><strong>MySQL<\/strong><\/td>\n<td>root\/admin<\/td>\n<td>&nbsp;<\/td>\n<\/tr>\n<tr>\n<td><strong>phpMyAdmin<\/strong><\/td>\n<td>root\/admin<\/td>\n<td>&nbsp;<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/figure>\n<h4 id='reset-mysql-root-password-in-qts-42'>Reset MySQL root Password in QTS 4.2<\/h4>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2781\" src=\"https:\/\/192.168.1.30\/wordpress\/wp-content\/uploads\/2021\/12\/ccF6PDQ-2.png\" width=\"700\" height=\"218\" alt=\"Reset MySQL in QTS\" srcset=\"https:\/\/spiffynasty.com\/blahblahblah\/wp-content\/uploads\/2021\/12\/ccF6PDQ-2.png 700w, https:\/\/spiffynasty.com\/blahblahblah\/wp-content\/uploads\/2021\/12\/ccF6PDQ-2-300x93.png 300w, https:\/\/spiffynasty.com\/blahblahblah\/wp-content\/uploads\/2021\/12\/ccF6PDQ-2-600x187.png 600w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/>Reset MySQL in QTS<\/p>\n<p>Open <strong>Control Panel<\/strong> \u2192 <strong>Applications<\/strong> \u2192 <strong>SQL server<\/strong>, click <strong>\u201cReset Root Password\u201d<\/strong> then <strong>\u201cApply\u201d<\/strong> to confirm. It will remind you the password for <a href='https:\/\/www.mysql.com\/'>MySQL<\/a> has been changed into default <strong>\u201cadmin\u201d<\/strong>.<\/p>\n<h4 id='change-password-for-mysql-and-phpmyadmin-in-qts-42'>Change Password for MySQL and phpMyAdmin in QTS 4.2<\/h4>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2782\" src=\"https:\/\/192.168.1.30\/wordpress\/wp-content\/uploads\/2021\/12\/Br7eTbD-2.png\" width=\"700\" height=\"218\" alt=\"Edit user privileges in phpMyAdmin 4.2.3\" srcset=\"https:\/\/spiffynasty.com\/blahblahblah\/wp-content\/uploads\/2021\/12\/Br7eTbD-2.png 700w, https:\/\/spiffynasty.com\/blahblahblah\/wp-content\/uploads\/2021\/12\/Br7eTbD-2-300x93.png 300w, https:\/\/spiffynasty.com\/blahblahblah\/wp-content\/uploads\/2021\/12\/Br7eTbD-2-600x187.png 600w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/>Edit user privileges in phpMyAdmin 4.2.3<\/p>\n<p>There is no build-in tools to customize <a href='https:\/\/www.mysql.com\/'>MySQL<\/a>\u2018s password. You will need <a href='https:\/\/www.phpmyadmin.net\/'>phpMyAdmin<\/a>. Login and click on <strong>\u201cUsers\u201d<\/strong> tab. Click the <strong>\u201cEdit privileges\u201d<\/strong> which is next to root user at localhost.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2783\" src=\"https:\/\/192.168.1.30\/wordpress\/wp-content\/uploads\/2021\/12\/R1SFjpr-2.png\" width=\"435\" height=\"262\" alt=\"Change user password in phpMyAdmin 4.2.3\" srcset=\"https:\/\/spiffynasty.com\/blahblahblah\/wp-content\/uploads\/2021\/12\/R1SFjpr-2.png 435w, https:\/\/spiffynasty.com\/blahblahblah\/wp-content\/uploads\/2021\/12\/R1SFjpr-2-300x181.png 300w\" sizes=\"auto, (max-width: 435px) 100vw, 435px\" \/>Change user password in phpMyAdmin 4.2.3<\/p>\n<p>Scroll down until <strong>\u201cChange password\u201d<\/strong> section, provide your new password in these fields. Then press <strong>\u201cGo\u201d<\/strong> which is on lower right in the same section to execute.<\/p>\n<p>Once <a href='https:\/\/www.mysql.com\/'>MySQL<\/a>\u2018s password has been changed, <a href='https:\/\/www.phpmyadmin.net\/'>phpMyAdmin<\/a> is changed to the same new password.<\/p>\n<p>If you want change the authentication from <strong>cookie<\/strong> to <strong>http<\/strong> or <strong>config<\/strong>, you may manually edit <strong>config.inc.php<\/strong> which is located in <strong>\/share\/HDA_DATA\/.qpkg\/phpMyAdmin\/phpMyAdmin<\/strong> or <strong>\/share\/Web\/phpMyAdmin<\/strong>. <a href='https:\/\/wiki.phpmyadmin.net\/pma\/Auth_types'>Auth types<\/a> and <a href='http:\/\/docs.phpmyadmin.net\/en\/latest\/config.html#cookie-authentication-options'>Cookie authentication options<\/a> provides detail description.<\/p>\n<h3 id='synology'>Synology<\/h3>\n<p>You have to install both <a href='https:\/\/mariadb.org\/'>MariaDB<\/a> and <a href='https:\/\/www.phpmyadmin.net\/'>phpMyAdmin<\/a> from <strong>Package Center<\/strong>. In 2016\/6\/19, the <a href='https:\/\/www.phpmyadmin.net\/'>phpMyAdmin<\/a> is 4.6.2.<\/p>\n<h4 id='default-3'>Default<\/h4>\n<figure>\n<table>\n<thead>\n<tr>\n<th>&nbsp;<\/th>\n<th><strong>DSM 5.2<\/strong><\/th>\n<th><strong>DSM 6.0<\/strong><\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><strong>MySQL<\/strong><\/td>\n<td>root\/[empty] * Password is empty aka null string.<\/td>\n<td>root\/[admin password] * Same as admin<\/td>\n<\/tr>\n<tr>\n<td><strong>phpMyAdmin<\/strong><\/td>\n<td>root\/[empty] * Password is empty aka null string.<\/td>\n<td>root\/[admin password] * Same as admin<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/figure>\n<h4 id='reset-mariadb-root-password-in-dsm-60'>Reset MariaDB root Password in DSM 6.0<\/h4>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2784\" src=\"https:\/\/192.168.1.30\/wordpress\/wp-content\/uploads\/2021\/12\/HGRf6ED-2.png\" width=\"599\" height=\"357\" alt=\"MariaDB Dialog in DSM\" srcset=\"https:\/\/spiffynasty.com\/blahblahblah\/wp-content\/uploads\/2021\/12\/HGRf6ED-2.png 599w, https:\/\/spiffynasty.com\/blahblahblah\/wp-content\/uploads\/2021\/12\/HGRf6ED-2-300x179.png 300w\" sizes=\"auto, (max-width: 599px) 100vw, 599px\" \/>MariaDB Dialog in DSM 6.0<\/p>\n<p>Click on <a href='https:\/\/mariadb.org\/'>MariaDB<\/a> icon to launch above configuration dialog. Then click <strong>\u201cChange MariaDB password\u201d<\/strong> to pop-up <strong>\u201cLog in to MariaDB\u201d<\/strong> dialog.<\/p>\n<p>For password reset, ignore the <strong>\u201cMariaDB password\u201d<\/strong> field and click <strong>\u201cReset MariaDB Password\u201d<\/strong>. It will be rest to empty aka null string.<\/p>\n<h4 id='change-password-for-mysql-and-phpmyadmin-in-dsm-60'>Change Password for MySQL and phpMyAdmin in DSM 6.0<\/h4>\n<p><em><strong>* Use build-in tool to customize password for both. <a href='https:\/\/www.phpmyadmin.net\/'>phpMyAdmin<\/a> will destroy <a href='http:\/\/www.synology.com\/en-us\/dsm\/'>DSM<\/a>\u2018s mechanism. *<\/strong><\/em><\/p>\n<p>Click on <a href='https:\/\/mariadb.org\/'>MariaDB<\/a> icon to launch above configuration dialog. Then click <strong>\u201cChange MariaDB password\u201d<\/strong> to pop-up <strong>\u201cLog in to MariaDB\u201d<\/strong> dialog.<\/p>\n<p>For password customization, provide your password in <strong>\u201cMariaDB password\u201d<\/strong> and click <strong>\u201cOK\u201d<\/strong>. A new dialog will pop-up for new password for root.<\/p>\n<p>Once <a href='https:\/\/mariadb.org\/'>MariaDB<\/a>\u2018s password has been changed, <a href='https:\/\/www.phpmyadmin.net\/'>phpMyAdmin<\/a> is changed to the same new password.<\/p>\n<h3 id='reference'>Reference<\/h3>\n<ol>\n<li><a href='http:\/\/www.asustor.com\/'>Asustor<\/a><\/li>\n<li><a href='http:\/\/www.asustor.com\/adm'>Asustor ADM<\/a><\/li>\n<li><a href='http:\/\/support.asustor.com\/index.php?\/Knowledgebase\/Article\/View\/23\/5\/how-do-i-configure-mysql-what-is-the-default-password-for-mysql-if-i-forget-admin-password-for-mysql-how-should-i-do'>Asustor: Support Center: How do I configure MySQL? What is the default password for MySQL? If I forget admin password for MySQL, how should I do?<\/a><\/li>\n<li><a href='http:\/\/support.asustor.com\/index.php?\/Knowledgebase\/Article\/View\/95\/5\/what-is-the-default-username-and-password-for-phpmyadmin'>Asustor: Support Center: What is the default username and password for phpMyAdmin?<\/a><\/li>\n<li><a href='http:\/\/blog.e-nnov.fr\/en\/synology-dsm-en\/phpmyadmin\/#.V2IMHY47Ao_'>Julien Nicole Blog: Synology : Installing phpMyAdmin<\/a><\/li>\n<li><a href='http:\/\/blog.e-nnov.fr\/en\/synology-dsm-en\/mariadb\/#.V2K_v447Ao-'>Julien Nicole Blog: Synology : Installing MariaDB<\/a><\/li>\n<li><a href='https:\/\/mariadb.org\/'>MariaDB<\/a><\/li>\n<li><a href='https:\/\/www.mysql.com\/'>MySQL<\/a><\/li>\n<li><a href='https:\/\/www.phpmyadmin.net\/'>phpMyAdmin<\/a><\/li>\n<li><a href='http:\/\/docs.phpmyadmin.net\/en\/latest\/config.html#cookie-authentication-options'>phpMyAdmin: Docs: Cookie authentication options<\/a><\/li>\n<li><a href='https:\/\/wiki.phpmyadmin.net\/pma\/Auth_types'>phpMyAdmin: Wiki: Auth types<\/a><\/li>\n<li><a href='https:\/\/www.qnap.com\/i\/useng\/qa\/con_show.php?op=showone&amp;cid=112'>QNAP: How do I reset or change a root password for MySQL?<\/a><\/li>\n<li><a href='https:\/\/www.qnap.com\/i\/useng\/qts4\/con_show.php?op=showone&amp;cid=1'>QNAP: QTS<\/a><\/li>\n<li><a href='http:\/\/www.synology.com\/en-us\/dsm\/'>Synology: DSM<\/a><\/li>\n<li><a href='https:\/\/amigotechnotes.wordpress.com\/2014\/03\/21\/using-nas-as-your-database-server\/'>Using NAS as your Database Server<\/a><\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>UserAccounts &#8211; root\/localhost user &#8211; edit privileges &nbsp; Hit Change Password &#8211; &nbsp; Update Password &nbsp; Changes root for mariaDB and phpmyadmin &#8211; so relogin &nbsp; +++++++++++++++++++++++++++++ &nbsp; &nbsp; https:\/\/amigotechnotes.wordpress.com\/2016\/06\/20\/change-default-password-for-mysqlmariadb-and-phpmyadmin-on-nas\/ Change Default Password for MySQL\/MariaDB and phpMyAdmin on NAS 2016\/06\/20 Amigo How-To, InformationAsustor, MariaDB, MySQL, NAS, password, phpMyAdmin, QNAP, Synology &nbsp; I always need to look for the default password for MariaDB and phpMyAdmin in my NAS. There is no hint at all. Some even change the rules after upgrade. Therefore, I write a note here and share to save your time. This page would be continuously maintained. &nbsp; Asustor You don\u2019t need to install MariaDB which is already build-in in ADM. Open Services \u2192 MariaDB S**erver, select \u201cEnable MariaDB server\u201d, and click \u201cApply\u201d** to launch. If your application and MariaDB run on the same machine, there is no need to select \u201cEnable MariaDB remote access\u201d. More detail, please read Using NAS as your Database [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":2874,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"default","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"default","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[65,27],"tags":[],"class_list":["post-2753","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-frontpage","category-nas"],"_links":{"self":[{"href":"https:\/\/spiffynasty.com\/blahblahblah\/wp-json\/wp\/v2\/posts\/2753","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/spiffynasty.com\/blahblahblah\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/spiffynasty.com\/blahblahblah\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/spiffynasty.com\/blahblahblah\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/spiffynasty.com\/blahblahblah\/wp-json\/wp\/v2\/comments?post=2753"}],"version-history":[{"count":4,"href":"https:\/\/spiffynasty.com\/blahblahblah\/wp-json\/wp\/v2\/posts\/2753\/revisions"}],"predecessor-version":[{"id":2793,"href":"https:\/\/spiffynasty.com\/blahblahblah\/wp-json\/wp\/v2\/posts\/2753\/revisions\/2793"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/spiffynasty.com\/blahblahblah\/wp-json\/wp\/v2\/media\/2874"}],"wp:attachment":[{"href":"https:\/\/spiffynasty.com\/blahblahblah\/wp-json\/wp\/v2\/media?parent=2753"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/spiffynasty.com\/blahblahblah\/wp-json\/wp\/v2\/categories?post=2753"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/spiffynasty.com\/blahblahblah\/wp-json\/wp\/v2\/tags?post=2753"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}