Host mysql
#1

Hello, I have a host, but as my script was like this:

PHP код:
#define MYSQL_HOST "localhost"
#define MYSQL_USER "root"
#define MYSQL_DATABASE "mydb"
#define MYSQL_PASSWORD "" 
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.
Reply


Messages In This Thread
Host mysql - by saffierr - 15.04.2016, 13:39
Re: Host mysql - by Eyce - 15.04.2016, 13:42
Re: Host mysql - by saffierr - 15.04.2016, 13:51
Re: Host mysql - by Eyce - 15.04.2016, 13:59
Re: Host mysql - by saffierr - 15.04.2016, 14:02
Re: Host mysql - by Eyce - 15.04.2016, 14:12
Re: Host mysql - by saffierr - 15.04.2016, 14:17
Re: Host mysql - by Eyce - 15.04.2016, 14:23

Forum Jump:


Users browsing this thread: 1 Guest(s)