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. #178

Open
theo-dep opened this issue Sep 27, 2024 · 0 comments

Comments

@theo-dep
Copy link

I am using mysql from docker version 9.0.1

docker run -d --name mysql -p 3306:3306 -e MYSQL_DATABASE=testdb -e MYSQL_ROOT_PASSWORD=testdb mysql:9.0.1

#define ORMPP_ENABLE_LOG
#define ORMPP_ENABLE_MYSQL
#include <ormpp/dbng.hpp>
using namespace ormpp;

int main()
{
    dbng<mysql> mysql;
    mysql.connect("127.0.0.1", "root", "testdb", "testdb", 0, 3306);
    // WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version.
}
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

1 participant