![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi, I have trouble trying to deal with a client in india who only has a xeon processor or a dual core and my application uses MySQL++ library to make the connection to mysql. The MySQL installation is a regular rpm file nothing specific for the 64 bit and i can run it just fine, but when my application runs on the xeon / dual core it core dumps at the time when i am trying to connect to mysql, connect() throws an exception, unfortunately the executable i sent to client didnt have a catch in it, so i dont know what seems to be the exact reason, but someone ever face this issue? I can run the exact same code here in my lab with a regular P4. What gives? Thanks Ankur |
#3
| |||
| |||
|
|
Hi, I have trouble trying to deal with a client in india who only has a xeon processor or a dual core and my application uses MySQL++ library to make the connection to mysql. The MySQL installation is a regular rpm file nothing specific for the 64 bit and i can run it just fine, but when my application runs on the xeon / dual core it core dumps at the time when i am trying to connect to mysql, connect() throws an exception, unfortunately the executable i sent to client didnt have a catch in it, so i dont know what seems to be the exact reason, but someone ever face this issue? I can run the exact same code here in my lab with a regular P4. What gives? Thanks Ankur |
#4
| |||
| |||
|
|
I get a access denied exception, when i can use the same username and password and enter with mysql -u user -p option?? Anything? On 7/25/06, Ankur G35 Saxena <g35rider (AT) gmail (DOT) com> wrote: Hi, I have trouble trying to deal with a client in india who only has a xeon processor or a dual core and my application uses MySQL++ library to make the connection to mysql. The MySQL installation is a regular rpm file nothing specific for the 64 bit and i can run it just fine, but when my application runs on the xeon / dual core it core dumps at the time when i am trying to connect to mysql, connect() throws an exception, unfortunately the executable i sent to client didnt have a catch in it, so i dont know what seems to be the exact reason, but someone ever face this issue? I can run the exact same code here in my lab with a regular P4. What gives? Thanks Ankur |
#5
| |||
| |||
|
|
Actually you can specify them in the mysqlpp::Connection constructor, look: Connection http://tangentsoft.net/mysql++/doc/r...ection.html#a1 (const char *db, const char *host="", const char *user="", const char *passwd="", uint http://tangentsoft.net/mysql++/doc/r...ysqlpp.html#a7 port=0, my_bool compress=0, unsigned int connect_timeout=60, cchar http://tangentsoft.net/mysql++/doc/r...ysqlpp.html#a6 *socket_name=0, unsigned int client_flag=0) 2006/7/25, Ankur G35 Saxena <g35rider (AT) gmail (DOT) com>: I get a access denied exception, when i can use the same username and password and enter with mysql -u user -p option?? Anything? On 7/25/06, Ankur G35 Saxena <g35rider (AT) gmail (DOT) com> wrote: Hi, I have trouble trying to deal with a client in india who only has a xeon processor or a dual core and my application uses MySQL++ library to make the connection to mysql. The MySQL installation is a regular rpm file nothing specific for the 64 bit and i can run it just fine, but when my application runs on the xeon / dual core it core dumps at the time when i am trying to connect to mysql, connect() throws an exception, unfortunately the executable i sent to client didnt have a catch in it, so i dont know what seems to be the exact reason, but someone ever face this issue? I can run the exact same code here in my lab with a regular P4. What gives? Thanks Ankur |
#6
| |||
| |||
|
|
Thanks for the response, I am doing that... I have the following information in my user table /*!40000 ALTER TABLE `user` DISABLE KEYS */; LOCK TABLES `user` WRITE; INSERT INTO `user` VALUES ('localhost','root','','Y','Y' ,'Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y',' Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','', '','','',0,0,0,0), ('lemko08.localdomain ','root','','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y ','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y', 'Y','Y','Y','Y','','','','',0,0,0,0), ('lemko08.localdomain ','','','N','N','N','N','N','N','N','N','N','N','N ','N','N','N','N','N','N','N','N','N','N','N','N', 'N','N','N','','','','',0,0,0,0), ('localhost','','','N','N','N','N','N','N','N','N' ,'N','N','N','N','N','N','N','N','N','N','N','N',' N','N','N','N','N','N','','','','',0,0,0,0), ('','root','','Y','Y','Y','Y','Y','Y','Y','Y','Y', 'Y','N','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y ','Y','Y','Y','Y','','','','',0,0,0,0), ('%','root','','Y','Y','Y','Y','Y','Y','Y','Y','Y' ,'Y','N','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y',' Y','Y','Y','Y','Y','','','','',0,0,0,0), ('localhost','provision','*F3217201BB1C2D9940EDDE0 216E781949BE7D28F','Y','Y','Y','Y','Y','Y','Y','Y' ,'Y','Y','N','Y','Y','Y','Y','Y','Y','Y','Y','Y',' Y','Y','Y','Y','Y','Y','','','','',0,0,0,0), ('%','provision','*F3217201BB1C2D9940EDDE0216E7819 49BE7D28F','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y' ,'N','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y',' Y','Y','Y','Y','','','','',0,0,0,0), ('localhost.localdoamin ','root','','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y ','N','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y', 'Y','Y','Y','Y','','','','',0,0,0,0), ('localhost.localdoamin ','provision','','Y','Y','Y','Y','Y','Y','Y','Y',' Y','Y','N','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y' ,'Y','Y','Y','Y','Y','','','','',0,0,0,0); and I have the exact same info in my P4 machine and I can log in without a problem, when i run my command i get the following error Access denied for user 'provision'@'Lemko08.localdomain' (using password: YES) Anything I could be missing.. On 7/25/06, Carlos Flores <cafg10 (AT) gmail (DOT) com> wrote: Actually you can specify them in the mysqlpp::Connection constructor, look: Connection http://tangentsoft.net/mysql++/doc/r...ection.html#a1 (const char *db, const char *host="", const char *user="", const char *passwd="", uint http://tangentsoft.net/mysql++/doc/r...ysqlpp.html#a7 port=0, my_bool compress=0, unsigned int connect_timeout=60, cchar http://tangentsoft.net/mysql++/doc/r...ysqlpp.html#a6 *socket_name=0, unsigned int client_flag=0) 2006/7/25, Ankur G35 Saxena <g35rider (AT) gmail (DOT) com>: I get a access denied exception, when i can use the same username and password and enter with mysql -u user -p option?? Anything? On 7/25/06, Ankur G35 Saxena <g35rider (AT) gmail (DOT) com> wrote: Hi, I have trouble trying to deal with a client in india who only has a xeon processor or a dual core and my application uses MySQL++ library to make the connection to mysql. The MySQL installation is a regular rpm file nothing specific for the 64 bit and i can run it just fine, but when my application runs on the xeon / dual core it core dumps at the time when i am trying to connect to mysql, connect() throws an exception, unfortunately the executable i sent to client didnt have a catch in it, so i dont know what seems to be the exact reason, but someone ever face this issue? I can run the exact same code here in my lab with a regular P4. What gives? Thanks Ankur |
![]() |
| Thread Tools | |
| Display Modes | |
| |