Nov. 18th, 2006

piranha: red origami crane (Default)
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.

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