Questions tagged [mysql-connector]
MySQL provides standards-based drivers for JDBC, ODBC, and .NET enabling developers to build database applications in their language of choice. In addition, a native C library allows developers to embed MySQL directly into their applications.
mysql-connector
2,500
questions
0
votes
1
answer
22
views
Mysql2 Error when lost connection, it don't reconnect
I develop in nodejs (expressjs) with mysql2. When I close or restart mysql server my application thorws error and nodemon crashes and don't reconnect to mysql server. I want to reconnect every 5 ...
0
votes
0
answers
8
views
Why is the date format different from that of my project in recent versions of the mysql net connector?
System.Threading.Thread.CurrentThread.CurrentCulture=System.Globalization.CultureInfo.CreateSpecificCulture("es-DO")
System.Globalization.DateTimeFormatInfo.CurrentInfo.ShortDatePattern = &...
0
votes
0
answers
7
views
InterfaceError: 2003: Can't connect to MySQL server on 'localhost:3306' in kaggle notebook [duplicate]
import mysql.connector
mydb = mysql.connector.connect(
host = "localhost",
user ="root",
password = 'password'
)
This is the code I used and I am cannot connect to ...
0
votes
0
answers
15
views
Can't open lib '/usr/lib/x86_64-linux-gnu/odbc/libmyodbc9w.so'
I just installed Tableau Server. One of my dashboards uses MYSQL databases. It needs an odbc connector to connect database and tableau. However, the dashboard is not showing.
My db uses MYSql 8.0.37. ...
0
votes
2
answers
42
views
Boost-Mysql error when shared_ptr is created for connection object
I have the following code which encompasses a boost::mysql connection using a shared_ptr. I want to keep the connection object for the duration of the application's runtime. I want the application to ...
0
votes
0
answers
47
views
Error: unable to get local issuer certificate when using AWS RDS Proxy
I am trying to connect to an RDS Proxy endpoint (Proxy is connected to an RDS MySQL instance) with my node server running on Amazon Linux 2023 EC2 instance.
The node server is using the Fastify ...
0
votes
0
answers
7
views
Workbench not opening on the Desktop
I have installed Mysql on my system using the normal documentation procedures and instructions. I have also downloaded the Mysql workbench also by following instruction from Msql documentation website....
0
votes
0
answers
27
views
Silent Installation of MySQL ODBC driver via *.msi package, or myodbc-installer.exe provided by Oracle
I try to use code from Powershell script
msiexec /i mysql-connector-odbc-8.0.30-winx64.msi /quiet
But it is not doing anything.
I try to install from *.zip package using not install.bat (for it ...
0
votes
0
answers
90
views
How to resolve architecture incompatibility errors when building Qt from source on Windows 10?
I have been trying to install Qt on my Windows 10 laptop. I originally downloaded the online installer and used it to get Qt and Qt Creator, but I was not able to add a plugin that I needed: QtSQL: ...
0
votes
0
answers
33
views
how do i fix incorrect mysql library version in ruby on rails?
im trying to make an application that connect to a mysql databse, but whatever i do, i kept making zero progress because i cant get past this line
Incorrect MySQL client library version! This gem was ...
0
votes
1
answer
56
views
Is it necessary to call db.Close() if MySQL crashes?
I have an golang app which uses MySQL as the backend DB. The app opens a *sql.DB using sql.Open and then calls PingContext https://pkg.go.dev/database/sql#DB.PingContext to make sure we can talk to ...
0
votes
0
answers
13
views
Getting type cast error after upgrading mysql nuget package to latest version
I am using MySQL server version 8.0.27. And I have updated my MySQL.Data nuget package to latest version 8.4.0. After that, i m facing type case error on queries which Entityframework used.The same ...
0
votes
0
answers
32
views
Prevent auto create new database connection each request in Spring
I am using Spring with config:
spring.datasource.hikari.maximum-pool-size=100
I send stress test from client (400 concurrent request) and there is some errors:
Connection is not available, request ...
0
votes
0
answers
25
views
Query on dependency version
In my Spring Boot application, I have used Spring Boot version:
<version>2.0.4.RELEASE</version>
and also MySQL connector dependency:
<dependency>
<groupId>mysql</...
1
vote
0
answers
59
views
No suitable driver found for jdbc:mysql://localhost:3306/ and ClassNotFoundException [duplicate]
I'm trying in Java to establish a connection to mysql. When I run my program I get an error that No suitable driver found for jdbc:mysql://localhost:3306/bot. I've searched on the internet and found a ...