mysql logging problems
#1

Hello i have a problem i make a register system with mysql in phpmyadmin everything is allright so i don't have an idea why it's not loggining to phpmyadmin in server system everything works.. so maybe can u suggest why?
Reply
#2

Do you have permission to remotely connect to the phpMyAdmin server? Are you sure your login data is correct?
Reply
#3

yes i am sure , but should i write here something ?
if(mysql_connect(SQL_HOST,SQL_USER,SQL_DB,SQL_PASS ))
Reply
#4

You have to change those data to your login data. If you didn't change that, it's obvious it won't connect.
Reply
#5

but there is #define so?
Reply
#6

Who is hosting your MySQL because websites such as 000webhost reject external connections to their MySQL servers.

Or if that's not the case
Look for this:
pawn Код:
#define SQL_HOST ""
#define SQL_USER ""
#define SQL_DB ""
#define SQL_PASS ""
Please note: Once you found them, fill in your details of your MySQL credentials between the "" and simply compile.
pawn Код:
#define MYSQL_EXAMPLE "EXAMPLE"
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)