mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
14 lines
521 B
Diff
14 lines
521 B
Diff
diff --git a/tools/src/wikipediaImage.cpp b/tools/src/wikipediaImage.cpp
|
|
index ff38f50..df5191b 100644
|
|
--- a/tools/src/wikipediaImage.cpp
|
|
+++ b/tools/src/wikipediaImage.cpp
|
|
@@ -31,7 +31,7 @@ void dump_file()
|
|
MYSQL mysql;
|
|
if (!mysql_init(&mysql))
|
|
return;
|
|
- if (!mysql_real_connect(&mysql, CONN_HOST , CONN_USER , CONN_PASS, NULL , MYSQL_PORT, NULL, 0))
|
|
+ if (!mysql_real_connect(&mysql, CONN_HOST , CONN_USER , CONN_PASS, NULL , MARIADB_PORT, NULL, 0))
|
|
return;
|
|
if (mysql_select_db(&mysql, CONN_DB))
|
|
return;
|