hi all,
I've installed apache+mySQL.....how do I create a new database from the command line? I also need to add a user and password....can this be done from the command line?
thanks.





Void Main wrote:No, "reinstalling" won't work unless you actually delete the MySQL database between the "remove" and the "install". The MySQL system database is created at install time. When you remove MySQL it only removes the program files and not the database that was created, which is normally a good thing. In MySQL packaged for RH/FC the MySQL databases are physically stored under the /var/lib/mysql directory.
Having said that, yes, there are other ways to recover a lost MySQL root password:
http://www.mysql.com/doc/en/Resetting_permissions.html

Users browsing this forum: No registered users and 0 guests