Hello,
Migrating from MySQL to MariaDB,
what do I need to modify in the system to compile ?
Which Libs and DLLs?
I use TMySQL.prg to connect with MySQL.
MySQL to MariaDB
MySQL to MariaDB
Thanks,
Ari
FWH 2501 - Harbour 3.2.0 - Embarcadero 7.43 - MySQL
São Paulo - SP - Brasil
www.sisrev.com.br
Ari
FWH 2501 - Harbour 3.2.0 - Embarcadero 7.43 - MySQL
São Paulo - SP - Brasil
www.sisrev.com.br
Re: MySQL to MariaDB
I'm trying to connect with MariaDB 11.8
I am getting this error: and the LIB: libmysql.lib is in the Linkedition.
I am getting this error: and the LIB: libmysql.lib is in the Linkedition.
Code: Select all | Expand
\tmp\sisrev5\versao.c:
MAKE Version 5.2 Copyright (c) 1987, 2000 Borland
Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland
Error: Unresolved external '_HB_FUN_MYSQL_LIST_DBS' referenced from C:\TMP\SISREV5\TMYSQL.OBJ
Error: Unresolved external '_HB_FUN_MYSQL_LIST_TABLES' referenced from C:\TMP\SISREV5\TMYSQL.OBJ
Error: Unresolved external '_HB_FUN_MYSQL_REAL_CONNECT' referenced from C:\TMP\SISREV5\TMYSQL.OBJ
Error: Unresolved external '_HB_FUN_MYSQL_SELECT_DB' referenced from C:\TMP\SISREV5\TMYSQL.OBJ
Error: Unresolved external '_HB_FUN_MYSQL_QUERY' referenced from C:\TMP\SISREV5\TMYSQL.OBJ
Error: Unresolved external '_HB_FUN_MYSQL_ERROR' referenced from C:\TMP\SISREV5\TMYSQL.OBJ
Error: Unresolved external '_HB_FUN_MYSQL_STORE_RESULT' referenced from C:\TMP\SISREV5\TMYSQL.OBJ
Error: Unresolved external '_HB_FUN_MYSQL_NUM_ROWS' referenced from C:\TMP\SISREV5\TMYSQL.OBJ
Error: Unresolved external '_HB_FUN_MYSQL_NUM_FIELDS' referenced from C:\TMP\SISREV5\TMYSQL.OBJ
Error: Unresolved external '_HB_FUN_MYSQL_FETCH_FIELD' referenced from C:\TMP\SISREV5\TMYSQL.OBJ
Error: Unresolved external '_HB_FUN_MYSQL_DATA_SEEK' referenced from C:\TMP\SISREV5\TMYSQL.OBJ
Error: Unresolved external '_HB_FUN_MYSQL_FETCH_ROW' referenced from C:\TMP\SISREV5\TMYSQL.OBJ
Não foi possível encontrar c:\sis\fsql901\*.$$$
Code: Select all | Expand
....
\sis\fsql901\visual\lib\tip.lib +
\sis\fsql901\visual\lib\ttaskpanel.lib +
\sis\fsql901\lib\libmysql.lib +
\sis\fsql901\lib\mysqlclient.lib, +
......
Thanks,
Ari
FWH 2501 - Harbour 3.2.0 - Embarcadero 7.43 - MySQL
São Paulo - SP - Brasil
www.sisrev.com.br
Ari
FWH 2501 - Harbour 3.2.0 - Embarcadero 7.43 - MySQL
São Paulo - SP - Brasil
www.sisrev.com.br
- carlos vargas
- Posts: 1815
- Joined: Tue Oct 11, 2005 5:01 pm
- Location: Nicaragua
Re: MySQL to MariaDB
Hbtmysql.lib
Libmysql.lib (for mysql)
Libmariadb.lib (for mariadb)
Libmysql.lib (for mysql)
Libmariadb.lib (for mariadb)
Salu2
Carlos Vargas
Desde Managua, Nicaragua (CA)
Carlos Vargas
Desde Managua, Nicaragua (CA)
Re: MySQL to MariaDB
Thanks for replying,
I still use xHarbour, and I don't have Hbtmysql.lib
I still use xHarbour, and I don't have Hbtmysql.lib
Thanks,
Ari
FWH 2501 - Harbour 3.2.0 - Embarcadero 7.43 - MySQL
São Paulo - SP - Brasil
www.sisrev.com.br
Ari
FWH 2501 - Harbour 3.2.0 - Embarcadero 7.43 - MySQL
São Paulo - SP - Brasil
www.sisrev.com.br
- Enrico Maria Giordano
- Posts: 9054
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
Re: MySQL to MariaDB
Please look inside xHarbour distribution package in the lib directory. You have mysql.lib and libmysql.lib.