I tried connecting my local codebase with the remote database through PDO but its not working, after that I made some changes in core.php and created a function using mysqli, and now the connection is working.
I used the same connection variables and pem files for verification
inside connect function in core.php
I also tried directly writing the PDO code as follows:
I tried connecting my local codebase with the remote database through PDO but its not working, after that I made some changes in core.php and created a function using mysqli, and now the connection is working.
I used the same connection variables and pem files for verification
inside connect function in core.php
I also tried directly writing the PDO code as follows: