I'm running mySQL locally on my computer. When I run my C# application I have the connect as
string MySQLDBConnect = "DRIVER={MySQL ODBC 3.51 Driver};" +
"SERVER=localhost;" +
"DATABASE=filetransfer;" +
"UID=********;" +
"PASSWORD=********;" +
"OPTION=3";
Everything works fine when it's set at localhost. But that's pretty useless as it onlly works on mmy PC. So instead I'll put in my IP adress. Let's say I change Localhost to 111.111.111.111. Then I get an error.
ERROR #0
Message: [MySQL][ODBC 3.51 Driver] Host '111.111.111.111' is not allowed to connect to this MySQL server.
Native: 1130
Source:
SQL: HY000
I assume this is a problem with my Mysql setup.
The database does get connected. I can tell because I can see the connect going through my firewall. But I get a premission error. I'm guessing it's with my database setup but I couldn't be sure.
string MySQLDBConnect = "DRIVER={MySQL ODBC 3.51 Driver};" +
"SERVER=localhost;" +
"DATABASE=filetransfer;" +
"UID=********;" +
"PASSWORD=********;" +
"OPTION=3";
Everything works fine when it's set at localhost. But that's pretty useless as it onlly works on mmy PC. So instead I'll put in my IP adress. Let's say I change Localhost to 111.111.111.111. Then I get an error.
ERROR #0
Message: [MySQL][ODBC 3.51 Driver] Host '111.111.111.111' is not allowed to connect to this MySQL server.
Native: 1130
Source:
SQL: HY000
I assume this is a problem with my Mysql setup.
The database does get connected. I can tell because I can see the connect going through my firewall. But I get a premission error. I'm guessing it's with my database setup but I couldn't be sure.