PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WEBDEV 22 → conexion MariaDB o Mysql (error conexion)
conexion MariaDB o Mysql (error conexion)
Débuté par Victor Hugo Pereyra, 30 mar. 2017 15:37 - 2 réponses
//hostimage.webdev.info/avatars/default.gif
Posté le 30 mars 2017 - 15:37
Hello
I have problems connecting to both MariaDB and Mysql, from webdev v21
The message it throws is as follows:

image:

Https://kn3.net/60A83C531D0PNG.html

I tell you what I did.

1. Reinstall MariaBD
2. Install the 32-bit and 64-bit
3. Copy to the folder where the site libmysql.dll is located
4. Copy in the folder of windows / system32 and in windows / wow64 the same
libreria libmysql.dll
5. I put in the path where it is located orignally according to the
installed DB where it is located.

Doing all this, I CAN NOT CONNECT.

Can someone help me? ...
or
Has anyone had something like this and how did you solve it?

Thank you in advance.
Victor
//hostimage.webdev.info/avatars/default.gif
Posté le 30 mars 2017 - 15:51
Hi Victor,

first you need to choose the correct dll:
- 32 bits if your program/site runs in 32 bits
- 64 bits if your program/site runs in 64 bits

then you need to put that dll at the SAME place where the dlls used by
your program are (depends on your pc configuration, but they are quite
easy to find)

And of course, you also need to install the MYSQL native access (from
pcsoft web site)

Best regards

--
Fabrice Harari
International WinDev, WebDev and WinDev mobile Consulting

Ready for you: WXShowroom.com, WXReplication (open source) and now WXEDM
(open source)

More information on http://www.fabriceharari.com


Le 3/30/2017 à 7:37 AM, Victor Hugo Pereyra a écrit :
Hello
I have problems connecting to both MariaDB and Mysql, from webdev v21
The message it throws is as follows:

image:

Https://kn3.net/60A83C531D0PNG.html

I tell you what I did.

1. Reinstall MariaBD
2. Install the 32-bit and 64-bit
3. Copy to the folder where the site libmysql.dll is located
4. Copy in the folder of windows / system32 and in windows / wow64 the
same libreria libmysql.dll
5. I put in the path where it is located orignally according to the
installed DB where it is located.

Doing all this, I CAN NOT CONNECT.

Can someone help me? ...
or
Has anyone had something like this and how did you solve it?

Thank you in advance.
Victor
//hostimage.webdev.info/avatars/default.gif
Posté le 04 avril 2017 - 16:22
Victor Hugo Pereyra wrote:
Hello
I have problems connecting to both MariaDB and Mysql, from webdev v21
The message it throws is as follows:

image:

Https://kn3.net/60A83C531D0PNG.html

I tell you what I did.

1. Reinstall MariaBD
2. Install the 32-bit and 64-bit
3. Copy to the folder where the site libmysql.dll is located
4. Copy in the folder of windows / system32 and in windows / wow64 the same
libreria libmysql.dll
5. I put in the path where it is located orignally according to the
installed DB where it is located.

Doing all this, I CAN NOT CONNECT.

Can someone help me? ...
or
Has anyone had something like this and how did you solve it?

Thank you in advance.
Victor


I'm new to this fourm, and with my evaluation of WebDev, but are you referencing MariaDB from within
server-side PHP code? If so, make sure to set the extensions directory where PHP can load the appropriate MySQL driver.