Timeline for database creation using codeigniter database dbforge class gives "Access denied for user 'username'@'localhost' to database 'database_name' "
Current License: CC BY-SA 3.0
10 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jan 12, 2013 at 4:01 | answer | added | Tim Post | timeline score: 2 | |
Sep 6, 2012 at 9:26 | history | migrated | from stackoverflow.com (revisions) | ||
Sep 5, 2012 at 7:12 | comment | added | user1645846 | @webbandit- i am trying to create a new database using dbforge class and load that database using a existing user. | |
Sep 5, 2012 at 7:05 | comment | added | user1645846 | @webbandit- DB user name is not "username"(i have given it as a example) . Actually i have used the username which i have added through "Add New User" option in cpanel . And i am using the same username to access the currently running database. | |
Sep 5, 2012 at 5:40 | comment | added | webbandit | Is your DB user name is really "username"? Seems like you haven't changed default DB connection config. | |
Sep 5, 2012 at 4:35 | comment | added | user1645846 | @stealthyninja- yes i am able to create database through cpanel. And i have to add a user to that newly created database through Cpanal to access that database. But while creating database using dbforge class it gives access denied error. | |
Sep 4, 2012 at 13:54 | comment | added | stealthyninja | @user1645846 - are you able to create additional databases via the cPanel? | |
Sep 4, 2012 at 11:43 | comment | added | user1645846 | how we can give permission to create database to a user..? | |
Sep 4, 2012 at 10:59 | comment | added | Deepak | It clearly states that specified user don't have permission to create database on the server. | |
Sep 4, 2012 at 10:50 | history | asked | Sanjay | CC BY-SA 3.0 |