Welcome Guest. Please Login or Register  


You are here: Index > Webuzo > General Support > Topic : After Mysql upgrade to 5.6, unable to create new databases



Normal Mode | Print  

After Mysql upgrade to 5.6, unable to create new databases
webuzo_manager
Group: Member
Post Group: Elite Member
Posts: 268
Status:
Hi,

If you facing this issue please follow these steps to change your MySQL root password :

1. Firstly Stop MySQL service, use this command and execute it multiple times untill no mysqld process is running :

service mysqld stop

2. Start MySQL with option:

/usr/local/apps/mysql56/mysqld  --skip-grant-tables

3. Login to MySQL as:

mysql -u root

4. Change database to mysql as:

use mysql;

5. Update root user password as:

update user set password=PASSWORD("NEWPASSWORD ") where user='root';

note: NEWPASSWORD should be replaced with desired password, everything else stays the same...

5.5 Flush the privileges using the following command :

flush privileges;

6. Exit from mysql, using the command:

exit;

7. Stop all MySQL service as (execute it multiple times until no process is present):

killall mysqld

8. Start MySQL service normally as:

service mysqld restart

9. Check whether new password is working fine by loging in as:

mysql -u root -p

note: After this MySQL will prompt you for password. Please enter the NEWPASSWORD set by you above.

10. Update /var/webuzo/my.conf with the new working password.
IP: --   


Threads
 nychos   After Mysql upgrade to 5.6, unable to create new databases (7 Replies, Read 46247 times)
    |--  Guest   Hi, what is...   on June 19, 2016, 8:39 pm
    |--  nychos   Hi, the database...   on June 19, 2016, 10:43 pm
    |--  webuzo_manager   Hi, If you...   on June 20, 2016, 6:05 am
    |--  nychos   Thank you nikhil,...   on June 20, 2016, 8:55 am
    |--  webuzo_manager   2. Start MySQL...   on June 20, 2016, 9:27 am
    |--  nychos   THANKS! It worked!...   on June 20, 2016, 9:41 am
    |--  webuzo_manager   Glad to know...   on June 20, 2016, 10:19 am

« Previous    Next »

Normal Mode | Print  



Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is September 18, 2025, 7:38 pm.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 10  |  Page Created In:0.015