Hi,
How do i connect a PHP program to send data to the google cloud MySQL. I was able to ping my database using command prompt but when I tried to send data using my PHP, there are no error in the syntax, unfortunately the data was not inserted into my database. Here I attached some picture:
Here is the image of me pinging to the database.
This is my PHP code connecting to the database.
Unfortunately, my database did not receive any input from my PHP.
Do i need to do firewall setting to allow my pc ip?
Hi, How do i connect a PHP program to send data to the google cloud MySQL. I was able to ping my database using command prompt but when I tried to send data using my PHP, there are no error in the syntax, unfortunately the data was not inserted into my database. Here I attached some picture:
Here is the image of me pinging to the database.
This is my PHP code connecting to the database.
Unfortunately, my database did not receive any input from my PHP.
Do i need to do firewall setting to allow my pc ip?