Linux wrong path exported. How to recover ~./bashrc file

Put something like: PATH=/your/jdk/bin/path:${PATH} export PATH That way, your path gets prepended to the regular PATH environment. And simply log out and log back in to reset your environment. Or type this: export PATH=/usr/bin:/usr/local/bin or this . /etc/profile to reload a basic environment if you can’t get an editor to work right now.

where does MySQL store database files?

In any case you can know it: mysql> select @@datadir; +—————————————————————-+ | @@datadir | +—————————————————————-+ | D:\Documents and Settings\b394382\My Documents\MySQL_5_1\data\ | +—————————————————————-+ 1 row in set (0.00 sec) Thanks Barry Galbraith from the MySql Forum http://forums.mysql.com/read.php?10,379153,379167#msg-379167