Problem with Forge createDatabase |
07-30-2021, 04:50 AM
(This post was last modified: 07-30-2021, 04:56 AM by Chroma. Edit Reason: Added possible solution. )
Is there a way of doing this cleanly, so that we can connect to the database server and then create a new database on that database server.
This used to work before. I think, as I just deleted a database from the MySQL server that was only created recently. This is what I did as a work around, it seems to work, but my be a bit skippy. My init forge looks like this... PHP Code: $forge = Database::forge('db_init'); PHP Code: /** You will of course need to set the username and password fields correctly. |
Messages In This Thread |
Problem with Forge createDatabase - by Ken McClain - 06-20-2020, 08:38 AM
RE: Problem with Forge createDatabase - by InsiteFX - 06-21-2020, 03:20 AM
RE: Problem with Forge createDatabase - by Ken McClain - 06-21-2020, 05:15 AM
RE: Problem with Forge createDatabase - by Chroma - 07-30-2021, 04:50 AM
RE: Problem with Forge createDatabase - by paulbalandan - 07-30-2021, 11:16 AM
RE: Problem with Forge createDatabase - by InsiteFX - 07-31-2021, 03:54 AM
|