Building QT with "windeployqt": not connect to database (ODBC)
-
wrote on 5 May 2020, 20:45 last edited by
Hi, just guessing, are you using 127.0.0.1 (or localhost) to connect to the database also on the new PC? Also, have you checked that you can reach the database with MySQL workbench?
-
wrote on 5 May 2020, 21:07 last edited by
Yes to both
-
wrote on 5 May 2020, 23:54 last edited by
Ok. Is it same version of Windows 10 on both computers?
-
wrote on 6 May 2020, 01:08 last edited by
Is the ODCB connection created on 2nd computer? Also with mysql connector you need Visual C++2015 distro.
--James
-
wrote on 6 May 2020, 09:04 last edited by
@hskoglund Yes
-
wrote on 6 May 2020, 10:03 last edited by
Sorry what I meant was did you configure the ODBC data source on the 2nd computer.
Like this:
--James
-
wrote on 6 May 2020, 11:49 last edited by
No, this procedure is necessary for each device that must use the application?
-
wrote on 6 May 2020, 14:47 last edited by
Its connecting to an OBDC entry in windows by the looks of it. I do not use ODBC much but the way I understand it is you have to make the entry on each machine....Thats why I use the standard mysql connector, then you do not. I could be off:)
--James
-
wrote on 6 May 2020, 15:09 last edited by
@JSher said in Building QT with "windeployqt": not connect to database (ODBC):
Its connecting to an OBDC entry in windows by the looks of it. I do not use ODBC much but the way I understand it is you have to make the entry on each machine....Thats why I use the standard mysql connector, then you do not. I could be off:)
Ok thank you very much!!! I evaluate the transition to the mysql connector
24/24