Gly*_*yph 5 postgresql phpstorm
我可以protomolecule
通过PHP脚本使用这些完全相同的凭据连接到数据库.尝试在PhpStorm中进行设置失败,如图所示.
如果我将protomolecule
数据库更改为默认postgres
数据库,它在PhpStorm中连接就好了.我无法弄清楚为什么用户只能连接到postgres
其他东西.
我已经尝试设置新用户和新数据库无济于事.
编辑:根据要求添加下面的工作PHP脚本设置.
array(
'database' => 'protomolecule',
'driver' => 'Pgsql',
'hostname' => 'localhost',
'username' => 'postgres',
'password' => 'xxxxxxxxxxxxx',
'port' => '5432'
)
Run Code Online (Sandbox Code Playgroud)