Welcome Guest, Not a member yet? Register   Sign In
Creating a new database is not working at server in codeigniter 3
#1

Hello everyone.
I have a accounting management project where I need to store some specific data to a new database. I am fetching a issue when I am going to create a new database in server. It is working fine in local. As this project is made with Codeigniter 3, I am using codeigniter dbforge() library to create new database.

I have made this following this documentation of codeigniter 3.
https://codeigniter.com/userguide3/datab...orge-class

But when I run this code, I get this error message.
Error Number: 1044
Access denied for user 'shohowqj_testing_usr'@localhost to database 'shohoz_hishab_backup_2022'
CREATE DATABASE shohoz_hishab_backup_2022 CHARACTER SET utf8 COLLATE utf8_general_ci

Filename: modules/yearly_closing/controllers/Yearly_closing.php
Line Number: 68

Anybody please help me how to fix it.
Thank you
Using Codeigniter since 2016 ( skype: imranertaza )
Reply


Messages In This Thread
Creating a new database is not working at server in codeigniter 3 - by webdeveloper011 - 05-14-2022, 09:55 PM



Theme © iAndrew 2016 - Forum software by © MyBB