Changes
From SME Server
Jump to navigation
Jump to search
← Older edit
Newer edit →
MySQL
(view source)
Revision as of 07:16, 28 August 2007
310 bytes added
,
07:16, 28 August 2007
m
→Resetting the MySQL root password
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 ====
Quayph
1
edit
Navigation menu
Page actions
Page
Discussion
View source
History
Page actions
Page
Discussion
More
Tools
In other languages
Personal tools
English
Log in
Koozali SME Server
Main Page
Welcome
Releases
Testimonials
Documentation
SME Server FAQ
Volunteering
Commercial Support
Recent activities
Dashboard
Recent wiki changes
Recent bug changes
Unread Forum posts
Koozali resources
Contribs
How-To's
Forums
Bugzilla
Mailing Lists
Translations
Download
Koozali SME Server wiki
Wiki statistics
Wiki categories
Wiki Help
Koozali Wiki Help
Tools
Special pages
Printable version
Search