My problem started off with me not being able to log in as root any more on my mysql install. I was attempting to run mysql without passwords turned on... but whenever I
solutions
finally uninstall and reinstall mysql. **
then install again by
After this operation, 164 MB of additional disk space will be used.
...... .......
At last you will get these lines....
Setting up libhtml-template-perl (2.95-1) ...
Setting up mysql-common-5.6 (5.6.16-1~exp1) ... Processing triggers for libc-bin (2.19-0ubuntu6) Processing triggers for ureadahead (0.100.0-16) ...
And then
root@ubuntu1404:~# mysql -u root -p (for every password first u should use )
Enter password:
Note :Entered password should be same as the installation time password of mysql(like .root,system,admin,rahul etc...)
Then type
USE rahul_db(database name);
Thanks.**