15.04.2016, 13:39
Hello, I have a host, but as my script was like this:
It couldn't connect to it, so I did some research and I saw that I had to change the MYSQL_HOST "localhost" to MYSQL_HOST "myserverip". Well I did that, and it was good. but the next problem is the MYSQL_USER "root"...
I assume the "root" should be replaced with something else to get it working.
Any help is appreciated.
PHP код:
#define MYSQL_HOST "localhost"
#define MYSQL_USER "root"
#define MYSQL_DATABASE "mydb"
#define MYSQL_PASSWORD ""
I assume the "root" should be replaced with something else to get it working.
Any help is appreciated.