Last active
December 2, 2017 09:06
-
-
Save syedanam/5b81582a46e0ee53b845d9040fc6c8c1 to your computer and use it in GitHub Desktop.
mysql error in ubuntu
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* mysql Said 1018 - Can't read dir of '.' (errno: 13 - Permission denied) */ | |
chown -R mysql:mysql /var/lib/mysql/ #your mysql user may have different name | |
chmod -R 755 /var/lib/mysql/ | |
/* 1006 - Can't create database 'test_DB' (errno: 15240960) in mysql */ | |
sudo chown -R mysql:mysql /var/lib/mysql/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment