Re: Hou connect whis use PIPE ?
Posted by: Andrey Pozin
Date: September 30, 2011 02:46AM

I have code :

MYSQL mysql;
MYSQL_ROW row;
MYSQL_RES *res;
int num_fields = 0;
int num_rows = 0;
MYSQL_FIELD *field;
mysql_init(&mysql);
mysql_options(&mysql,MYSQL_OPT_COMPRESS,0);
mysql_options(&mysql,MYSQL_OPT_NAMED_PIPE,NULL);

mysql_real_connect(&mysql, "127.0.0.1", "root", "", ".:fas_dump_304888", 0, NULL, 0);

But not connected ^ Error : MySQL server has gone away

Options: ReplyQuote


Subject
Views
Written By
Posted
940
September 30, 2011 12:40AM
Re: Hou connect whis use PIPE ?
682
September 30, 2011 02:46AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.