Archive for the ‘Uncategorized’ Category

View options that your php is compiled with

Monday, October 12th, 2009
To see your php config, create .php file on your server with the following content:




and view it in your browser

reset root password in MySQL

Monday, October 12th, 2009

1. Stop the mysqld daemon process.
2. Start the mysqld daemon process with the –skip-grant-tables option (/usr/bin/mysqld_safe –skip-grant-tables &)
3. Start the mysql client with the -u root option.
4. Execute the UPDATE mysql.user SET Password=PASSWORD(‘password’) WHERE User=’root’ and Host=’localhost’;
5. Execute the FLUSH PRIVILEGES; command.

mysql> update mysql.user set Password=PASSWORD(‘abc123′) where¬† User=’root’ and Host=’localhost’;

Hello world!

Thursday, October 8th, 2009

Welcome to WordPress. This is your first post. Edit or delete it, then start blogging!