Can't create new database with forge |
I have tried this:
PHP Code: $forge = \Config\Database::forge(); and this: PHP Code: $dbName = 'test_1002'; and I get: PHP Code: CRITICAL - 2025-05-06 03:35:45 --> [Caused by] mysqli_sql_exception: Access denied for user 'development'@'%' to database 'test_1002' The server is Liquid Web Alma Linux, Maria DB, Plesk... the db user has full access to all functions and all databases. I can create a db over ssh but it doesn't show up to Plesk, because Plesk only tracks it's own databases. Does anyone know how to get past this, and create Plesk visible databases with CI4?
I do not mean using SSH. I meant using spark using the command line. But since you don't want that, let me try again differently.
Instead of using forge, try using `command('db:create test_1002');` in there. |
Welcome Guest, Not a member yet? Register Sign In |