On Tuesday 14 January 2003 09:26, mahdi samia wrote: > I have writed a program and compiled it by g++. > I used from API function for connecting to MySQLServer : > mysql_real_connect(db,"192.168.2.245",NULL,NULL,"vlrdb",3306,"/tmp/mysql.so >ck",CLIENT_ODBC) > > but when running it I receive following message: > Host "192.168.2.249" is not allowed to connect to this MySQL server > > 192.168.2.249 is client IP number that tries to connect to MySQLserver.
It means that you doesn't have permissions to connect from this host: http://www.mysql.com/doc/en/Access_denied.html -- For technical support contracts, goto https://order.mysql.com/?ref=ensita This email is sponsored by Ensita.net http://www.ensita.net/ __ ___ ___ ____ __ / |/ /_ __/ __/ __ \/ / Victoria Reznichenko / /|_/ / // /\ \/ /_/ / /__ [EMAIL PROTECTED] /_/ /_/\_, /___/\___\_\___/ MySQL AB / Ensita.net <___/ www.mysql.com --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php