re: connect by IP number

2003-01-14 Thread Victoria Reznichenko
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 follow

Re: connect by IP number

2003-01-14 Thread Gelu Gogancea
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