OpenDBX

for Project:

Open Database abstraction layer

Register as a new user

Task #22 — MySQL give Segmentation Fault in Windows

Attached to Project — OpenDBX
Opened by Mariano Martinez Peck (MarianoPeck) - Saturday, 8 Aug 2009, 1:56am
Last edited by Norbert Sendetzky (nose) - Thursday, 1 Oct 2009, 8:43am
Bug Report High
Library Urgent
Closed 1.4.x
Norbert Sendetzky (nose) 1.4.x
All 100% complete
It is impossible to use MySQL in Windows. Tried in 1.4.2 with the following steps:

1) I download essential package from here: http://dev.mysql.com/downloads/mysql/5.0.html#win32 When I installed that I didn't choose the server. Only the client. I installed in c:/mysql

2) CPPFLAGS="-I/c/MySQL/include/" LDFLAGS="-L/c/MySQL/bin -L/c/mysql/lib/opt" ./configure --disable-utils --disable-nls --with-backends="mysql"

3) This compiles and install perfect.

4) I have only one libMySQL.dll in all my pc and it is in c:/MySQL/bin. I have this directory in $PATH and I am SURE openDBX is using THAT dll.

5) If I run $ ./odbxtest.exe -b mysql -h 192.168.1.140 -p 5432 -d sodbxtest -u sodbxtest -w sodbxtest

I get the screenshot I attach (actually this picture is from the last time, but the problem is the same)


After that, Norbert said:

"Unfortunately, I haven't found out why the MySQL backend segfaults and I've
tried many things. Furthermore, I'm sure it worked some time before when I've
tried it first."


Closed by  Norbert Sendetzky (nose)
Date:  Thursday, 1 Oct 2009, 8:44pm.
Reason for closing:   Fixed
Additional comments about closing:  Part of release 1.4.4

Comments (1) | Attachments (0) | Related Tasks (0/0) | Notifications (1) | Reminders (0) | History |

These tasks are related to this task

Other tasks that this task is related to