dbTalk Databases Forums  

Segmentation fault while creating a new Database

mailing.database.mysql-plusplus mailing.database.mysql-plusplus


Discuss Segmentation fault while creating a new Database in the mailing.database.mysql-plusplus forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
neelu dhiman
 
Posts: n/a

Default Segmentation fault while creating a new Database - 11-20-2006 , 01:44 AM






--0-924587204-1164008575=:90504
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

Hi All,

I have MySQL++-2.1.1 and mysql-4.1.11-2 on my Linux (Fedora Core) machine. I am using MySQL++ functions for creating a table, dropping database, inserting values into tables etc. I can create a database from 'mysql' prompt, but if I try to do the same from con.create_db() method or by executing following query:

query<<"create database sample"

In both of these cases, I am getting 'Segmentation fault'. What can be the possible problem. Please guide.

Thanks,
Neelu


---------------------------------
Find out what India is talking about on - Yahoo! Answers India
Send FREE SMS to your friend's mobile from Yahoo! Messenger Version 8. Get it NOW
--0-924587204-1164008575=:90504--

Reply With Quote
  #2  
Old   
Joel Fielder
 
Posts: n/a

Default RE: Segmentation fault while creating a new Database - 11-20-2006 , 02:41 AM






Do the mysql++ examples run correctly, specifically the resetdb example?


If so, then most likely there is a problem with your code/build
settings, otherwise we need more information.

Joel.


--
MySQL++ Mailing List
For list archives: http://lists.mysql.com/plusplus
To unsubscribe: http://lists.mysql.com/plusplus?unsu...ie.nctu.edu.tw


Reply With Quote
  #3  
Old   
Warren Young
 
Posts: n/a

Default Re: Segmentation fault while creating a new Database - 11-20-2006 , 10:52 AM



neelu dhiman wrote:
Quote:
I have MySQL++-2.1.1 and mysql-4.1.11-2 on my Linux (Fedora Core) machine.
Did you build MySQL++ from source, or are you using some RPM? Please
tell what file you're using in either case.

--
MySQL++ Mailing List
For list archives: http://lists.mysql.com/plusplus
To unsubscribe: http://lists.mysql.com/plusplus?unsu...ie.nctu.edu.tw



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.