Free Software Server Environment : MySqlAdmin

HomePage :: Categories :: PageIndex :: RecentChanges


Search this site: FSSE.INFO is produced by "osde8info" :
http://dev.mysql.com/downloads/administrator/1.1.html

MySQL Administration


MySql root password reset on Debian/Ubuntu
To connect to MySQL as the root user do the following:
$ sudo mysql --defaults-extra-file=/etc/mysql/debian.cnf


MySql root password reset on CentOS/Oracle Unbreakable/Red Hat
Stop MySql
# service mysqld stop


Start MySql without security
# /usr/bin/safe_mysqld --skip-grant-tables &


Change / Reset MySql root password
# mysql -u root mysql
mysql> UPDATE user SET Password=PASSWORD('new_password') WHERE user='root'
mysql> FLUSH PRIVILEGES; 
mysql> exit;


Stop MySql
# mysqladmin shutdown


Start MySql normally
# service mysqld start



REFERRERS
MySqlAdministration
MySqlDesignQuery

There are no comments on this page. [Add comment]

Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki
Page was generated in 0.0206 seconds