PROFESSIONAL NEWSGROUPS
WINDEV
,
WEBDEV
and
WINDEV Mobile
Home
|
Recent messages
|
Connect
|
Sign out
|
English
Home
→
WEBDEV 2024
→
Conexion a MariaDB o Mysql (error conexion)
Conexion a MariaDB o Mysql (error conexion)
Started by Victor Hugo Pereyra, Mar., 30 2017 3:37 PM - 4 replies
Connect yourself…
Victor Hugo Pereyra
#1
Posted on March, 30 2017 - 3:37 PM
hola
Tengo problemas en conectarme tanto a MariaDB e igualmente con Mysql, desde
webdev v21
El mensaje que arroja es el siguiente:
imagen:
https://kn3.net/60A83C531D0PNG.html
Les cuento lo que hice.
1. Reinstale MariaBD
2. Instale el de 32 bits y 64 bits
3. Copie en la carpeta donde esta el sitio el libmysql.dll
4. Copie en la carpeta de windows/system32 y en windows/wow64 la misma
libreria libmysql.dll
5. Puse en el path donde esta ubicado orignalmente de acuerdo a la BD
instalada donde esta ubicado.
realizando todo esto, no LOGRO CONECTARME.
Alguien puede darme una ayuda?...
o
Alguien le ha sucedido algo parecido y como lo solucionó?
Desde ya gracias.
Victor
Report
0
0
TOM SILVA
#2
Posted on December, 22 2022 - 6:17 PM
Amigo debes poner la lib que esta dentro de la carpeta lib del maria db dentro de la carpeta de webdev.
Report
0
0
TOM SILVA / RMT SYST
#3
Registered member
7 messages
Popularité : +2 (2 votes)
Posted on December, 22 2022 - 6:21 PM
Hola Victor como estas,
copiar la lib que esta dentro de la carpeta /lib de la instalacion de maria db
generalmente si encuentra en C:\Program Files\MariaDB 10.10\lib
y esa le pones en la carpeta donde si instalo su webdev.
y tambien en la carpeta del proyecto instalado.
Report
0
0
Fulbright
#4
Registered member
4 messages
Posted on February, 08 2023 - 7:41 AM
Hello
you can see my shared code may be it will help you
To connect to a MariaDB or MySQL database, you need to have the following information:
Hostname or IP address of the database server
Port number (default is 3306 for MariaDB and MySQL)
Database name
Database username and password
Then you can use a database connector library in your programming language to establish a connection to the database. For example, in Python you can use the mysql-connector-python library to connect to a MariaDB or MySQL database:
java
Copy code
import mysql.connector
cnx = mysql.connector.connect(
host="hostname",
user="username",
password="password",
database="database_name"
)
cnx.close()
In PHP, you can use the mysqli extension to connect to a MariaDB or MySQL database:
php
Copy code
<?php
$conn = mysqli_connect("hostname", "username", "password", "database_name");
if (!$conn) {
die("Connection failed: " . mysqli_connect_error());
}
mysqli_close($conn);
please give your feedback guys so we can update our response @
https://www.c4yourself.ltd/
.
Thanks & regards
www.c4yourself.com
Report
0
0
Natalie000
#5
Posted on October, 19 2023 - 9:34 AM
Salutari tuturor. Sunt un participant activ la acest subiect și vă citesc frecvent scrierile. Accesați și această pagină web.
https://menuromania.com/taverna-racilor-meniu/
Report
0
0
→ Go back to WEBDEV 2024
WINDEV 28
WEBDEV 2024
Français
English
Español
Portuguesa
Close this window
Search type
Only topics
All the messages
Search period
Any time
Past hour
Past 24 hours
Past week
Past month
Past year
Cancel
Preview of your message
Adding an image
Import an image from a URL
Send an image from a file of your disk
Drop a file or click "Browse..."
or
Cancel
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Text