Hello ,
I was running Red Hat Enterprise Linux 5 in virtual machine on Windows XP , due to some OS problem i decided to use alternate Windows VISTA which was also installed physically ,
So when i started vista and opend VMware Configuration file , i came across this error .
Solution : (Little problem but very common one)
-----------
Simple go to location where you installed OS and check .lck folder
Delete any .lck files in this folder and its done!
Now you can run your OS without any problem!
Thank You ,
Have a nice day
#1045 - Access denied for user 'root'@'localhost' (using password: NO)
This is very common error encountered while using WAMP server , its because you have not set mySql password and you need to set it first!
Solution :
1) Go to C:\wamp\bin\mysql\mysql5.1.36\bin\
2) mysql.exe -u root -p
3) mysql>
4) Type this query :
update mysql.user set password=password('1234') where user='root';
5) flush privileges;
6) That's it! now u set password 1234 to mysql.
7) Now whenever you will establish connection with mysql from php pages you will need to provide this password 1234
Thank You,
Have A Nice Day!
Hi,
I know its very simple issue but important for beginneers ,
Many times some configuration changes in .bash_profile file may lead to these types of errors . .
As all your commands are there in /sbin/ if $PATH variable is not set properly then you may get this error...
Solution :
1) If you are logged in as root
2) cd ~
3) vim .bash_profile
4) export $PATH=/sbin
5) Thats it.! now you specified your system where to check for system commands!
Fireup your fav system command and check the output!
Enjoy!
Have a nice day!