MySQL Database + Errorrs [REP+]
#10

Quote:
Originally Posted by SecretBoss
Посмотреть сообщение
Thanks you all guys I fixed the problem

I just changed

PHP код:
#if USE_LOCALHOST == true
#define LOCAL_HOST                 "localhost"
#define LOCAL_USER                 "root"
#define LOCAL_PASS                 ""
#define LOCAL_DB                   "server"
#else
#define SERVER_HOST                "127.0.0.1"
#define SERVER_USER                "port_7717"
#define SERVER_PASS                "mypass"
#define SERVER_DB                  "port_7717"
#endif 
to this

PHP код:
#if USE_LOCALHOST == true
#define SERVER_HOST                "127.0.0.1"
#define SERVER_USER                "port_7717"
#define SERVER_PASS                "mypass"
#define SERVER_DB                  "port_7717"
#else
#define LOCAL_HOST                 "localhost"
#define LOCAL_USER                 "root"
#define LOCAL_PASS                 ""
#define LOCAL_DB                   "server"
#endif 
So you are not fixing the problem, but just making sure you can't work with it locally anymore. Also this is really prone to errors in the future. Spend some time with CTRL+R (replace) and you are done.
Reply


Messages In This Thread
MySQL Database + Errorrs [REP+] - by SecretBoss - 13.04.2015, 09:27
Re: MySQL Database + Errorrs [REP+] - by mamorunl - 13.04.2015, 09:30
Re: MySQL Database + Errorrs [REP+] - by SecretBoss - 13.04.2015, 09:35
Re: MySQL Database + Errorrs [REP+] - by mamorunl - 13.04.2015, 09:43
Re: MySQL Database + Errorrs [REP+] - by MEW273 - 13.04.2015, 09:49
Re: MySQL Database + Errorrs [REP+] - by SecretBoss - 13.04.2015, 09:49
Re: MySQL Database + Errorrs [REP+] - by SecretBoss - 13.04.2015, 09:57
Re: MySQL Database + Errorrs [REP+] - by MEW273 - 13.04.2015, 10:02
Re: MySQL Database + Errorrs [REP+] - by SecretBoss - 13.04.2015, 11:01
Re: MySQL Database + Errorrs [REP+] - by mamorunl - 13.04.2015, 11:42

Forum Jump:


Users browsing this thread: 1 Guest(s)