↧
MySQL 8.0: compiling with Microsoft Visual Studio (no replies)
↧
Error HY000 when trying to connect to excel (no replies)
Hi,
I'm trying to connect to MySQL server with ODBC connector, I'm able to connect but when I'm trying to retrieve data with excel sheet I receiving this error:
"ODBC: ERROR [HY000] [MySQL] [ODBC 8.0(w) Driver] Unknown MySQL server host '*.*.*.*' (2) ERROR [HY000] [MySQL] [ODBC 8.0(w) Driver] Unknown MySQL server host '*.*.*.*' (2)" I was able to connect and retrieve data from 2 other offices.
Is there something that blocking the connection?
Thank you,
Haim
I'm trying to connect to MySQL server with ODBC connector, I'm able to connect but when I'm trying to retrieve data with excel sheet I receiving this error:
"ODBC: ERROR [HY000] [MySQL] [ODBC 8.0(w) Driver] Unknown MySQL server host '*.*.*.*' (2) ERROR [HY000] [MySQL] [ODBC 8.0(w) Driver] Unknown MySQL server host '*.*.*.*' (2)" I was able to connect and retrieve data from 2 other offices.
Is there something that blocking the connection?
Thank you,
Haim
↧
↧
MYsql not appear in list of ODBC data sources (no replies)
Hi
MYsql not appear in list of ODBC data sources
in System DSN,
i have installed driver can send step to again to see where problem
thx
MYsql not appear in list of ODBC data sources
in System DSN,
i have installed driver can send step to again to see where problem
thx
↧
Invalid connection string attribute (no replies)
Trying to connect Windows ODBC 8.0 drivers to a remote GoDaddy MySQL database (ver 5.7.26-29). I believe I have all the MySQL ODBC parameters setup correctly but returns “Invalid connection string attribute”.
I CAN connect to the database using MySQL Workbench with the same parameters, so it seems I have the server, user, password, port correct.
Any ideas?
I CAN connect to the database using MySQL Workbench with the same parameters, so it seems I have the server, user, password, port correct.
Any ideas?
↧
ODBC error.(10060) (no replies)
Hi All,
I have installed MYSQL latest version on RHEL and configured it with a new DB and few tables. It is working well.
On remote desktop I have MYSQL ODBC driver installed. It is failing.
But when I provide same details on MYSQL workbench, I can login and view all the relevant tables and data.
I have checked and configured username, pwd, hostname, port etc in right way. Any help is much appreciated to resolve this error.
I have trace error from ODBC in this message.
------------------------------------------------
dbcad32 3b14-33e0 EXIT SQLDriverConnectW with return code -1 (SQL_ERROR)
HDBC 0x000002DAEC5129F0
HWND 0x0000000000000000
WCHAR * 0x00007FFE388721C0 [ -3] "******\ 0"
SWORD -3
WCHAR * 0x00007FFE388721C0
SWORD -3
SWORD * 0x0000000000000000
UWORD 0 <SQL_DRIVER_NOPROMPT>
DIAG [HY000] [MySQL][ODBC 8.0(a) Driver]Can't connect to MySQL server on 'remote IP' (10060) (2003)
---------------------------------------------------------
Thanks and Regards
Anand
I have installed MYSQL latest version on RHEL and configured it with a new DB and few tables. It is working well.
On remote desktop I have MYSQL ODBC driver installed. It is failing.
But when I provide same details on MYSQL workbench, I can login and view all the relevant tables and data.
I have checked and configured username, pwd, hostname, port etc in right way. Any help is much appreciated to resolve this error.
I have trace error from ODBC in this message.
------------------------------------------------
dbcad32 3b14-33e0 EXIT SQLDriverConnectW with return code -1 (SQL_ERROR)
HDBC 0x000002DAEC5129F0
HWND 0x0000000000000000
WCHAR * 0x00007FFE388721C0 [ -3] "******\ 0"
SWORD -3
WCHAR * 0x00007FFE388721C0
SWORD -3
SWORD * 0x0000000000000000
UWORD 0 <SQL_DRIVER_NOPROMPT>
DIAG [HY000] [MySQL][ODBC 8.0(a) Driver]Can't connect to MySQL server on 'remote IP' (10060) (2003)
---------------------------------------------------------
Thanks and Regards
Anand
↧
↧
unixODBC-2.3.7 Extraction Directory (no replies)
Hello,
where do I extract unixODBC-2.3.7 to on a Linux Mint 19.3 machine?
Thanks
where do I extract unixODBC-2.3.7 to on a Linux Mint 19.3 machine?
Thanks
↧
ODBC Problem (no replies)
Hello,
I am trying to install unixODBC-2.3.7 to on a Linux Mint 19.3 machine, I have downloaded the compressed file and it is located in the Downloads folder. Where should I move it to to extract it and what is the best way to install it.
Thanks
I am trying to install unixODBC-2.3.7 to on a Linux Mint 19.3 machine, I have downloaded the compressed file and it is located in the Downloads folder. Where should I move it to to extract it and what is the best way to install it.
Thanks
↧
Automation error message (no replies)
Hi, Since 6 weeks, I couldn't run anymore VBA command rs.update without error message "Run-time error '-2147217887 (80040e21)': Automation error".
I use Mysql Connector/ODBC 8.0 for VBA. I run a VBA program running in EXCEl that compares Mysql Database and SQL Database. Every change found on Mysql Database is automatically changed by the command rs.update from ADO.
Here is a sample of my VBA program concerning only Mysql connection and update command.
----------------------------------------------------
Dim IDNumber As Integer
Dim OSNumber As Integer
Dim conn As ADODB.Connection
Dim rs As ADODB.Recordset
Dim fld As ADODB.Field
Dim sql As String
Dim SqlSelect As String
Set conn = New ADODB.Connection
conn.Open "DRIVER={MySQL ODBC 8.0 Unicode Driver};" _
& "SERVER=GDC1PGLP******;" _
& " DATABASE=inventory;" _
& "User=***;Password=*****; OPTION=3"
Set rs = New ADODB.Recordset
rs.CursorLocation = adUseServer
OSNumber =0
IDNumber = Worksheets("GLPI_MEA").Cells(j, 1).Value
SqlSelect = "select * from glpi_computers where id=" + Str(IDNumber)
rs.Open SqlSelect, conn, adOpenDynamic, adLockOptimistic
rs!operatingsystems_id = OSNumber
rs.Update
rs.Close
----------------------------------------
Each time I ran the program, it stops at the line rs.update with an error message: "Run-time error '-2147217887 (80040e21)': Automation error"
You have to know, that everything was working fine 2 months ago without issue. The VBA program was run properly.
When I decide to run the VBA program again this month, the error message appears.
I didn't make any changes to the program. and I have the error message.
I look into the internet but didn't find a resolution concerning this error message.
I need your help with this because, at this time, I am stuck...
Many thanks to anyone who can help me.
Jean
I use Mysql Connector/ODBC 8.0 for VBA. I run a VBA program running in EXCEl that compares Mysql Database and SQL Database. Every change found on Mysql Database is automatically changed by the command rs.update from ADO.
Here is a sample of my VBA program concerning only Mysql connection and update command.
----------------------------------------------------
Dim IDNumber As Integer
Dim OSNumber As Integer
Dim conn As ADODB.Connection
Dim rs As ADODB.Recordset
Dim fld As ADODB.Field
Dim sql As String
Dim SqlSelect As String
Set conn = New ADODB.Connection
conn.Open "DRIVER={MySQL ODBC 8.0 Unicode Driver};" _
& "SERVER=GDC1PGLP******;" _
& " DATABASE=inventory;" _
& "User=***;Password=*****; OPTION=3"
Set rs = New ADODB.Recordset
rs.CursorLocation = adUseServer
OSNumber =0
IDNumber = Worksheets("GLPI_MEA").Cells(j, 1).Value
SqlSelect = "select * from glpi_computers where id=" + Str(IDNumber)
rs.Open SqlSelect, conn, adOpenDynamic, adLockOptimistic
rs!operatingsystems_id = OSNumber
rs.Update
rs.Close
----------------------------------------
Each time I ran the program, it stops at the line rs.update with an error message: "Run-time error '-2147217887 (80040e21)': Automation error"
You have to know, that everything was working fine 2 months ago without issue. The VBA program was run properly.
When I decide to run the VBA program again this month, the error message appears.
I didn't make any changes to the program. and I have the error message.
I look into the internet but didn't find a resolution concerning this error message.
I need your help with this because, at this time, I am stuck...
Many thanks to anyone who can help me.
Jean
↧
MySQL Connectors 8.0: support for DNS-SRV (no replies)
MySQL Connectors 8.0: support for DNS-SRV
- https://www.slideshare.net/Grypyrg/mysql-connectors-8019-dns-srv
- https://www.slideshare.net/Grypyrg/mysql-connectors-8019-dns-srv
↧
↧
SQLInstaller error 12: Invalid install path (no replies)
i try to install odbc for Tableau driver, but when running this command appear error:
myodbc-installer -a -d -n "MySQL ODBC 5.13" -t "Driver=/usr/local/lib/libmyodbc5w.so"
[ERROR] SQLInstaller error 12: Invalid install path
is there anyone can help about this issue?
myodbc-installer -a -d -n "MySQL ODBC 5.13" -t "Driver=/usr/local/lib/libmyodbc5w.so"
[ERROR] SQLInstaller error 12: Invalid install path
is there anyone can help about this issue?
↧
Error using SSL in Connector/ODBC. SSL works fine with Workbench. (no replies)
Hi, I am able to use the MySQL Connector/ODBC 8 for accessing data on my database, but when I try to enable SSL (by entering a value for SSL CA File) and click Test, I receive the error:
"Connection Failed
[MySQL][ODBC 8.0(w) Driver]SSL Connection error: error:1416F086:SSL routines:tls_process_server_certificate verify failed:"
I am able to connect fine with MySQL Workbench over SSL, with the same settings. I have verified it is SSL several ways.
I have used the previous versions of the ODBC connector for a long time with SSL. I recently moved our database to a new server, used new MySQL 8, made new users, etc. So I set up my access with Workbench again, works well. Then I tried installing the new Connector/ODBC 8 and making a new Data Source, but I receive the error above.
What is going wrong? Why does it work with Workbench but not the Connector/ODBC?
I wish I could upload some screenshots but looks like I can't so I will list out the relevant settings.
Client OS: Windows 10
MySQL server version: 8.0.19
MySQL Connector/ODBC version: 8.0.19
MySQL Workbench version: 6.3
Successful settings for SSL connection in Workbench:
Connection Method: Standard (TCP/IP)
Hostname: xx.yyy.95.21
Port: 3306
Username: michaelk, Password: ****
Use SSL: Require
SSL CA File: D:\...\ca-cert.pem
Successful settings for non-SSL connection in Connector/ODBC
TCP/IP Server: xx.yyy.95.21
Port: 3306
User: michaelk, Password: ****
Unsuccessful settings for SSL connection in Connector/ODBC
[Same as above]
SSL CA File: D:\...\ca-cert.pem
I have also tried adding the SSL Key (client key) and SSL Certificate (client cert) fields, but no luck.
Any help is appreciated
"Connection Failed
[MySQL][ODBC 8.0(w) Driver]SSL Connection error: error:1416F086:SSL routines:tls_process_server_certificate verify failed:"
I am able to connect fine with MySQL Workbench over SSL, with the same settings. I have verified it is SSL several ways.
I have used the previous versions of the ODBC connector for a long time with SSL. I recently moved our database to a new server, used new MySQL 8, made new users, etc. So I set up my access with Workbench again, works well. Then I tried installing the new Connector/ODBC 8 and making a new Data Source, but I receive the error above.
What is going wrong? Why does it work with Workbench but not the Connector/ODBC?
I wish I could upload some screenshots but looks like I can't so I will list out the relevant settings.
Client OS: Windows 10
MySQL server version: 8.0.19
MySQL Connector/ODBC version: 8.0.19
MySQL Workbench version: 6.3
Successful settings for SSL connection in Workbench:
Connection Method: Standard (TCP/IP)
Hostname: xx.yyy.95.21
Port: 3306
Username: michaelk, Password: ****
Use SSL: Require
SSL CA File: D:\...\ca-cert.pem
Successful settings for non-SSL connection in Connector/ODBC
TCP/IP Server: xx.yyy.95.21
Port: 3306
User: michaelk, Password: ****
Unsuccessful settings for SSL connection in Connector/ODBC
[Same as above]
SSL CA File: D:\...\ca-cert.pem
I have also tried adding the SSL Key (client key) and SSL Certificate (client cert) fields, but no luck.
Any help is appreciated
↧
remove odbc login screen upon Access startup (no replies)
Hello. I searched for this topic but couldn't find it. If this has been asked before please refer me to the posts. I have an Access frontend and MySQL backend. I use ODBC connector 5.3 and I am moving to ADODB for the connection. I want to suppress or kill the ODBC login screen which displays on startup. How do I do that?
↧
ODBC parallel query performance issue using C++ (no replies)
I have a program on C++, connecting mysql8.0 using mysqlodbc 8.0.18 and MSADO.
Here is the program structure: There is one main thread which collects data from a file repeatedly. It dispatches the data to several worker threads. Each worker thread has its own connection to a Mysql8.0 database. And once they get data from the main thread, they will insert the data into the target database. All the threads work concurrently. The program runs on a machine with 40 cores.
I find that as the number of the work threads grows, the performance goes better then worse, even when the number of thread keeps less than 40. It seems that there is a limit on the number of parallel threads in Connector/ODBC. Once the total number exceeds the limit, the performance gets worse.
How can I config this limit?
Here is the program structure: There is one main thread which collects data from a file repeatedly. It dispatches the data to several worker threads. Each worker thread has its own connection to a Mysql8.0 database. And once they get data from the main thread, they will insert the data into the target database. All the threads work concurrently. The program runs on a machine with 40 cores.
I find that as the number of the work threads grows, the performance goes better then worse, even when the number of thread keeps less than 40. It seems that there is a limit on the number of parallel threads in Connector/ODBC. Once the total number exceeds the limit, the performance gets worse.
How can I config this limit?
↧
↧
SelfBuild MysqlODBC Get Error 126 (1 reply)
I built an ODBC8.0.14 on Windows with
cmake -G "Visual Studio 14 2015 Win64" -DMYSQLCLIENT_STATIC_LINKING:BOOL=TRUE \
DMYSQLCLIENT_LIB_NAME=client_lib_name_with_extension
and get the install.bat and uninstall.bat.
The package works for my win10 pc. But when I moved it to windows server 2012, and tried the test button in ODBCManager, I got error 126: cannot find C:\Program Files\MySQL_Connector_ODBC\lib\myodbc8w.dll, which is definitely in the directory.
What might be wrong?
cmake -G "Visual Studio 14 2015 Win64" -DMYSQLCLIENT_STATIC_LINKING:BOOL=TRUE \
DMYSQLCLIENT_LIB_NAME=client_lib_name_with_extension
and get the install.bat and uninstall.bat.
The package works for my win10 pc. But when I moved it to windows server 2012, and tried the test button in ODBCManager, I got error 126: cannot find C:\Program Files\MySQL_Connector_ODBC\lib\myodbc8w.dll, which is definitely in the directory.
What might be wrong?
↧
importing data dump from odbc local database (1 reply)
i am attempting to create a database and used a sql data dump to import tables and data through odbc in vb.net. I am having allot of issues, Without going into detail about my problems, is there a way do do this at all or am I banging my head against a wall.
I am creating the database is no problem, it is when i attempt to load the data dump into a vb string(works ok) then try to pass it to the driver as a sql string. the following has helped but not solved my problem completely. i have set innodb_buffer_pool_size = 128k this got me past the error that disabled the connection, i then tried to add to my connection string no_ssps=1. no help but i was hoping this would allow multiple statements to be included in a single sql string, I am now getting this error "System.Data.Odbc.OdbcException
HResult=0x80131937
Message=ERROR [42000] [MySQL][ODBC 8.0(a) Driver][mysqld-8.0.19]You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_CO' at line 8"
Please help my client will need to get a new database every month. he does not know how to use the mysql workbench.
I am creating the database is no problem, it is when i attempt to load the data dump into a vb string(works ok) then try to pass it to the driver as a sql string. the following has helped but not solved my problem completely. i have set innodb_buffer_pool_size = 128k this got me past the error that disabled the connection, i then tried to add to my connection string no_ssps=1. no help but i was hoping this would allow multiple statements to be included in a single sql string, I am now getting this error "System.Data.Odbc.OdbcException
HResult=0x80131937
Message=ERROR [42000] [MySQL][ODBC 8.0(a) Driver][mysqld-8.0.19]You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_CO' at line 8"
Please help my client will need to get a new database every month. he does not know how to use the mysql workbench.
↧
Real-time notification to client when table is changed (no replies)
Hello, I am an experienced developer, starting to use MySQL, using Excel, VBA with ADO, and the Connector/ODBC. I am able to utilize MySQL but I face one issue that I can't find a solution for. As I plan for multiple users working with the database, I need a way that in case one user updates table XYZ, other users displaying the same table in their Excel, will immediately be notified of that and be able to update their displayed Excel table accordingly, to represent the changed table. I need to support this in VBA. Your help will be very highly appreciated and I will publish the full solution when done. Thanks a lot, Motti
↧
Remember Connector/ODBC password with Access? (2 replies)
I am successfully using a Microsoft Access front end to my MySQL back end. However every time I start the application I have to enter my username and password in the MySQL Connector/ODBC Data Source Configuration popup. Is there a way of letting the application remember these details?
↧
↧
MySQL Connector/ODBC 8.0.20 has been released (no replies)
↧
Cannot install driver (no replies)
I opened (on my laptop) a well established Access 365 db in the am. Later in the day I tried to open it again and received "odbc failed to connect" and the laptop had not been used in the interim. Tried another db that uses a different odbc location and it won't connect either. The same db still works on my desktop, and it uses the same odbc driver as the laptop (odbc connector 5.1.13). As you can see it was written long ago and has been distributed to users, so upgrading to later version of connector would have been difficult. I have tried everything I can think of--thorough virus check, etc. I have tried to reinstall that connector from the original msi and get the error:
Error 1918:Error installing ODBC driver MySQL 5.1 Driver, ODBC error 13. The setup routines for that driver could not be loaded due to system error code 126: The specified module could not be found. (C:\Program Files (x86)\MySQL\Connector ODBC 5.1\myodbc5S.dll). Verify that the file MySQL\Connector ODBC 5.1 Driver exists and that you can access it.
I have tried to reinstall the missing dll without success. Searches for remedy included installing c++ redistributables which didn't help. I can install later versions of the connector, but Access won't connect with them. Any suggestions would be greatly appreciated.
Error 1918:Error installing ODBC driver MySQL 5.1 Driver, ODBC error 13. The setup routines for that driver could not be loaded due to system error code 126: The specified module could not be found. (C:\Program Files (x86)\MySQL\Connector ODBC 5.1\myodbc5S.dll). Verify that the file MySQL\Connector ODBC 5.1 Driver exists and that you can access it.
I have tried to reinstall the missing dll without success. Searches for remedy included installing c++ redistributables which didn't help. I can install later versions of the connector, but Access won't connect with them. Any suggestions would be greatly appreciated.
↧
Please explain why i get a incorrect string value error (no replies)
I have a csv text file that has chars 32-127 only, Filtered out all other chars.
i am getting this error during import;
Error Code: 1366. Incorrect string value: '\xEF\xBF\xBDs b...' for column 'pcdbpartsdescriptionPartsDescription' at row 6168
here is the code generating the error;
load data infile 'C:\\ProgramData\\MySQL\\MySQL Server 8.0\\Uploads\\Pass0.csv'
into table autoscratch.pass0
fields terminated by ','
enclosed by '"'
lines terminated by '\r\n'
ignore 1 rows;
I don't understand why this is a problem, it is a simple text file. I have read allot about code-pages, i have read all the posts i can and i cannot find an answer that makes sense.
i am getting this error during import;
Error Code: 1366. Incorrect string value: '\xEF\xBF\xBDs b...' for column 'pcdbpartsdescriptionPartsDescription' at row 6168
here is the code generating the error;
load data infile 'C:\\ProgramData\\MySQL\\MySQL Server 8.0\\Uploads\\Pass0.csv'
into table autoscratch.pass0
fields terminated by ','
enclosed by '"'
lines terminated by '\r\n'
ignore 1 rows;
I don't understand why this is a problem, it is a simple text file. I have read allot about code-pages, i have read all the posts i can and i cannot find an answer that makes sense.
↧