Archive for the ‘Uncategorized’ Category
How to reset MySQL password.
I am browsing blog and i just found this thing that i didn’t know
Reseting mysql password
-
-
- Stop the server
- #/etc/init.d/mysql stop
- Login as root
- #mysqld_safe –skip-grant-tables –user=root
- #mysql -u root
- Enter this command
- mysql>update mysql.user set password=password(’newpassword’) where user=’root’;
- start the service again
- #etc/init.d/mysql start
- login again
- #mysql -u root -p
- Stop the server
-
Custom CSS for Internet Explorer 6 & 7
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.
The Concept Of Intelligent Operating Systems
As a computer science student i have some experience with operating systems like (our ever famous) Windows, Linux(My personal favorite), Solaris, Apple Mac etc.
The thing is that rather than making operating system just run other programs. Lets make OS’s that have the ability to think,learn,suggest etc. I want the day that OS ceases to become a dumb piece of codes that is executed by the hardware. To the extent that it becomes a complete mother program object.
let me explain. We want to be able to have sentences like the once i have written below
Repairing Crashed MySQL Database tables. “table ‘employee’ has crashed.”
Hi all,
Today i just want to start by sharing an experience that i had with MySQL Database. I was a project for a friend. The project was a CMS for a movie site and all of a sudden an error message started appearing, that the
table “employee” has crashed.
This made the admin page inaccessible. The true is if you have been working with MySQL for sometime you might have seen this error. I want to share with you i i fixed this error.
Before that i want to ask “Does anyone what causes MySQL table to crash” if you do please leave a comment as to how.
Efficient and easy way to debug CSS
If you’ve been working with CSS for some time, you’ve probably spent a fair bit of time debugging seemingly untractable problems that turn out to have a very simple solution.
The question: What can we do to debug our CSS faster? is there a streamlined way of debugging CSS.
Okay i want to share with you some few tips that i use in my CSS debugging