php – wpbd to connect to a VPS mysql database

Question

I need to connect to a external database on my wordpress site but this database is on a VPS so I have the SSH Hostname, SSH username, SSH password, MySQL HostName on the VPS, MySQL port on the VPS, the Mysql username and the MySQL Password but the wpdb object just ask for the database host, password, table and user so where should be defined the vps authentication information? can I use mslqli extension to achieve the connection ? if so how can I install the extension on wordpress?

0
TTT2 1 month 2022-12-27T22:03:56-05:00 0 Answers 0 views 0

Leave an answer

Browse
Browse