13

请问PHP如何连接openGauss数据库?

 3 years ago
source link: https://www.oschina.net/question/1030871_2322981
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

请问PHP如何连接openGauss数据库?

倚剑书生 发布于 今天 09:15

@openGauss 你好,想跟你请教个问题:

请问PHP如何连接openGauss数据库。
已经安装openGauss、PHP、Apache、ODBC。
直接执行PHP脚本正常,可获取数据,通过浏览器访问页面时出现错误:
Fatal error: Uncaught PDOException: SQLSTATE[01000] SQLDriverConnect: 0 [unixODBC][Driver Manager]Can't open lib '/usr/local/lib/psqlodbcw.so' : file not found


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK