Changes

From SME Server
Jump to navigationJump to search
310 bytes added ,  08:16, 28 August 2007
m
Line 33: Line 33:  
   /usr/libexec/mysqld --bootstrap --user=mysql --skip-grant-tables < ./set.password
 
   /usr/libexec/mysqld --bootstrap --user=mysql --skip-grant-tables < ./set.password
 
   runsvctrl u .
 
   runsvctrl u .
 +
 +
In SME 7.2 the runsvctrl command was replaced by the sv command so for SME 7.2 use the following:
 +
 +
  cd /var/service/mysqld
 +
  sv d .
 +
  expand-template /root/.my.cnf
 +
  expand-template /var/service/mysqld/set.password
 +
  /usr/libexec/mysqld --bootstrap --user=mysql --skip-grant-tables < ./set.password
 +
  sv u .
    
==== Access MySQL from the local network ====
 
==== Access MySQL from the local network ====
1

edit

Navigation menu