To reset the password for the MySQL root account. The MySQL root user on SME Server has a random generated password which is generated during installation. You do not need to know this password to login to MySQL with root privileges on SME Server. If you might have changed the MySQL root password you can reset it like this after getting command line access as root user:
+
To reset the password for the MySQL root account. The MySQL root user on SME Server has a random generated password which is generated during installation. You do not need to know this password to login to MySQL with root privileges on SME Server. If you might have changed the MySQL root password you can reset it like this after getting command line access as root user.
+
For SME Server 7.3 and more recent versions do the following:
cd /var/service/mysqld
cd /var/service/mysqld
sv d .
sv d .
Line 33:
Line 34:
sv u .
sv u .
−
Since SME Server 7.3 the runsvctrl command was replaced by the sv command so for SME Server 7.2 and earlier releases use the following:
+
For SME Server 7.2 and earlier releases do the following (they use the runsvctrl command instead of the sv command):