“Database does not exist” when trying to create a new Postgres database with PHP

前端 未结 0 1001
梦毁少年i
梦毁少年i 2020-12-07 17:36

I want to create a Postgres database from PHP. This is my code:

public function handle()
{
    $schemaName = \'new_database\';
    $port = env(\'DB_PORT\') ?:         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题