Recent

Author Topic: mysql50connection gives SIGSEGV error  (Read 3233 times)

jrensma

  • Newbie
  • Posts: 2
mysql50connection gives SIGSEGV error
« on: June 19, 2008, 11:37:36 am »
Hi,

First of all, I must admit my knowledge of programming with database interfaces is at novice level.

Following some of the guides in the wiki, I've created a program. At this moment very simple, because even the first connection does not work as expected :-(. A part of my program is:
Code: [Select]

      if MySQL50Connection1.Connected then MySQL50Connection1.Close;
      MySQL50Connection1.Hostname := '127.0.0.1';
      MySQL50Connection1.UserName := 'root';
      MySQL50Connection1.Password := '********';
      MySQL50Connection1.DatabaseName := 'mysql';
      MySQL50Connection1.Connected := true;
      MySQL50Connection1.Open;


When I run this program (from the ide) it gives me this error:
   Project raised exception class 'External: SIGSEGV'.

Followed by a window mentioning something about mysql_enable_rpl_parse.

What could be wrong?

If I'm not giving enough information, please let me know what else I need to provide.

Thanks is advance!
Jouke

jrensma

  • Newbie
  • Posts: 2
mysql50connection gives SIGSEGV error
« Reply #1 on: June 24, 2008, 04:41:53 pm »
Found it myself! It was the mysqldll.dll which could not be found. It was a bit strange because I added the full path to the environment parameters...

After copying it from the mysql directories to \windows\system32 all started to work. Now I have another question, but I will open a new message for this.

 

TinyPortal © 2005-2018