audibleCode

a code repository for codes that you don’t have enough words to describe

Posts Tagged ‘computers

How to reset MySQL password.

without comments

I am browsing blog and i just found this thing that i didn’t know

Reseting mysql password

 

  1.  
    1.  
      1. Stop the server
      2. #/etc/init.d/mysql stop
      3. Login as root
      4. #mysqld_safe –skip-grant-tables –user=root
      5. #mysql -u root
      6. Enter this command
      7. mysql>update mysql.user set password=password(’newpassword’) where user=’root’;
      8. start the service again
      9. #etc/init.d/mysql start
      10. login again
      11. #mysql -u root -p
The sequence is the same in windows. But the thinks is for the  complete stuff  go to mysql.com aand read the documentation.

Written by audiblecode

May 23, 2008 at 8:37 pm

Custom CSS for Internet Explorer 6 & 7

with one comment

I was working on my mini-project. The project was  a CMS for a school. I finished everything about it. I mean the php, mysql javascript, flash, and all that. But i had a small problem with the theme.

To be specific the CSS was different in Internet Explorer. I mean that i had to give internet explorer a different code to get the same effect in the various browsers. Firefox(my all time favorite), Safari and the rest. 

IT was only internet explorer that gave me the issues.

Let me get to it.

Read the rest of this entry »

Written by audiblecode

May 23, 2008 at 7:15 pm