Re: connect by IP number
Hi, If you use NULL on the USER parameter that means you wish to login with the current user which is already logged under Linux.I suppose that you don't have any user set to connect at MySQL server. I think it's better to try with root instead of NULL. Regards, Gelu _ G.NET SOFTWARE COMPANY Permanent e-mail address : [EMAIL PROTECTED] [EMAIL PROTECTED] - Original Message - From: mahdi samia [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, January 14, 2003 9:26 AM Subject: connect by IP number Hello all, 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.soc k,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. please hint me. M.Samee -- __ Sign-up for your own FREE Personalized E-mail at Mail.com http://www.mail.com/?sr=signup Meet Singles http://corp.mail.com/lavalife - 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 - 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
re: connect by IP number
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
connect by IP number
Hello all, 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.sock,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. please hint me. M.Samee -- __ Sign-up for your own FREE Personalized E-mail at Mail.com http://www.mail.com/?sr=signup Meet Singles http://corp.mail.com/lavalife - 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