Changes between Version 43 and Version 44 of InstallationGuidelines/MySQL
- Timestamp:
- 11/15/10 09:44:26 (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
InstallationGuidelines/MySQL
v43 v44 190 190 * Then mysqldump to export each database to an individual flat file. 191 191 192 === Reset Lost root password === 193 Debian: 194 {{{ 195 dpkg-reconfigure mysql-server-5.1 196 }}} 197 198 Manually: 199 {{{ 200 /etc/init.d/mysql stop 201 mysqld_safe --skip-grant-tables & 202 203 mysql -u root 204 205 UPDATE mysql.user SET Password=PASSWORD('mynewpassword') WHERE User='root'; 206 FLUSH PRIVILEGES; 207 quit 208 209 /etc/init.d/mysql stop 210 /etc/init.d/mysql start 211 mysql -u root -p 212 }}} 192 213 === Troubleshooting === 193 214 Can view the list of expensive queries by editing /etc/mysql/my.cnf and uncommenting/adding: