Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. #121

Open
AngelOfFear opened this issue May 9, 2024 · 12 comments

Comments

@AngelOfFear
Copy link

In terminal
WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version.

@OlafvdSpek
Copy link
Owner

Try the MariaDB client lib.

@AngelOfFear
Copy link
Author

MariaDB is installed.

@AngelOfFear
Copy link
Author

Try the MariaDB client lib.

How can I fix it? Because service still not starting. systemctl status tracker shows:

xbt_tracker[1255]: WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version.
systemd[1]: tracker.service: Deactivated successfully.

@OlafvdSpek
Copy link
Owner

It's a warning and doesn't affect startup.

@AngelOfFear
Copy link
Author

It's a warning and doesn't affect startup.

It doesn't start
Снимок экрана от 2024-05-09 15-05-05

@AngelOfFear
Copy link
Author

perl5-dbi/DBD-mysql#354

@AngelOfFear
Copy link
Author

AngelOfFear commented May 9, 2024

I removed default-libmysqlclient-dev, libmysqlclient-dev and installed libmariadb-dev, and I don't get this warning anymore. But service still deactivated. I think default file tracker.service is incorrect (not sure).

Снимок экрана от 2024-05-09 19-38-03
Снимок экрана от 2024-05-09 19-38-44

@AngelOfFear
Copy link
Author

With Type=forking its working!
Ура! 🥳

@OlafvdSpek
Copy link
Owner

That shouldn't be necessary. Did it run fine outside of systemd?

@arnold-b
Copy link

arnold-b commented Sep 24, 2024

Hello, is there any News about this stupid message.
I upgradet today and now the log get filled up every few seconds.
This stupid message is not only comming one time. every time its comming 10 times
I´m wondering if the people think about what they are doing with this kind of message.
[Tue Sep 24 11:46:46.618898 2024] [reqtimeout:info] [pid 164201]
[Tue Sep 24 11:46:46.623849 2024] [reqtimeout:info] [pid 164623]
WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version.
WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version.
WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version.
WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version.
WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version.
WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version.
WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version.
WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version.
WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version.
WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version.
WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version.
WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version.
WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version.
WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version.
WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version.
WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version.
[Tue Sep 24 11:46:53.907545 2024] [reqtimeout:info] [pid 164631]
WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version.
WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version.
WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version.
WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version.
WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version.
WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version.
WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version.
WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version.
[Tue Sep 24 11:47:33.407763 2024] [reqtimeout:info] [pid 164670]
WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version.
WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version.
WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version.
WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version.
WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version.
WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version.
WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version.
WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version.

@AngelOfFear
Copy link
Author

I removed default-libmysqlclient-dev, libmysqlclient-dev and installed libmariadb-dev, and I don't get this warning anymore.

@arnold-b
Copy link

I removed default-libmysqlclient-dev, libmysqlclient-dev and installed libmariadb-dev, and I don't get this warning anymore.

thanks, i will try

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants