Quantcast
Channel: MySQL Forums - Connector/C++
Viewing all articles
Browse latest Browse all 527

Failed to connect to mysql server with c++ connector on Fedora25 (no replies)

$
0
0
Hello,

I've created a c++ application in order to connect to mysql server in local, on linux system (fedora 25).

I've downloaded this version off the connector: mysql-connector-c++-1.1.11-linux-glibc2.12-x86-64bit.tar.gz

When I tried to connect with my application, I have this error message:
FATAL [17919] [MySQLWrapper::Connect@48] SQLException connecting to tcp://127.0.0.1:3306, root:password : Access denied for user 'root'@'localhost' (using password: NO)

The server is running and I succeed to connect with: "mysql -u root -p" or with the workbench.

It seems that there is a problem with the connector, if you can help me I will really appreciate it. (and the firewall is off)

Viewing all articles
Browse latest Browse all 527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>