Changes
From SME Server
Jump to navigation
Jump to search
← Older edit
Newer edit →
Useful Commands
(view source)
Revision as of 11:24, 21 April 2013
120 bytes added
,
11:24, 21 April 2013
→Login as MySQL root user
Line 100:
Line 100:
To login as MySQL root user, simply type 'mysql' at the SME Server shell, this will log you in with root privileges.
To login as MySQL root user, simply type 'mysql' at the SME Server shell, this will log you in with root privileges.
the mysql admin password is a random password generated which can be find
the mysql admin password is a random password generated which can be find
+
*/root/.my.cnf
*/root/.my.cnf
*/etc/ldap.secret
*/etc/ldap.secret
−
do not
modifiate
these files.
+
'''
do not
modify
these files.
'''
+
+
if you need to call the mysql password in a script you can invoke this bash variable
+
+
PWD=$(cat /etc/ldap.secret)
===Create a Database and its User===
===Create a Database and its User===
Stephdl
Administrators
5,576
edits
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