piranha: red origami crane (Default)
[personal profile] piranha
mysql is pissing me off tonight. what's with the cryptic error messages? if you don't have permissions for a file, how about saying "i don't have permission to access that file"? how hard is that?

how to reset the root password, for future reference:

as root, create a text file in /etc/mysql, call it mysql-init. put this in it:

SET PASSWORD FOR 'root'@'localhost' = PASSWORD('pickAnewPassword');

chown the file to mysql:mysql.

now run mysqld_safe --init-file=/etc/mysql/mysql-init &

probably a good idea to delete the file after. :) and tomorrow, run the fix for the new grant-tables stuff.

i wonder whether the printhead is dry yet.

From:
Anonymous (will be screened)
OpenID (will be screened if not validated)
Identity URL: 
User
Account name:
Password:
If you don't have an account you can create one now.
Subject:
HTML doesn't work in the subject.

Message:

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org


 
Notice: This account is set to log the IP addresses of everyone who comments.
Links will be displayed as unclickable URLs to help prevent spam.

Profile

piranha: red origami crane (Default)
renaissance poisson

July 2015

S M T W T F S
   123 4
567891011
12131415161718
19202122232425
262728293031 

Most Popular Tags

Expand Cut Tags

No cut tags