About 1,300,000 results
Open links in new tab
  1. How to connect to a MySQL Data Source in Visual Studio

    41 I use the MySQL Connector/Net to connect to my database by referencing the assembly (MySql.Data.dll) and passing in a connection string to MySqlConnection. I like that because I …

  2. mysql - How to retrieve SQL result column value using column …

    Apr 17, 2012 · Is there a way to retrieve SQL result column value using column name instead of column index in Python? I'm using Python 3 with mySQL. The syntax I'm looking for is pretty …

  3. Connect Java to a MySQL database - Stack Overflow

    Here's a step by step explanation how to install MySQL and JDBC and how to use it: Download and install the MySQL server. Just do it the usual way. Remember the port number whenever …

  4. How do I connect to a MySQL Database in Python?

    conn = mysql.connector.connect (host= you host name like localhost or 127.0.0.1, username= your username like root, password = your password) Third step Making the cursor: Making a …

  5. Authentication plugin 'caching_sha2_password' is not supported

    I am trying to connect to a MySQL server with python connector. I created a new user lcherukuri with the authentication plugin mysql_native_password. But I get the error: …

  6. python mysql.connector does not throw any error or message, …

    Nov 14, 2024 · I experienced very similar issue when using Python v3.12 (64 bit) with mysql-connector-python 9.2.0 and 9.1.0 It turns out that mysql-connector-python 9.2.0 and 9.1.0 …

  7. python - ImportError: No module named 'MySQL' - Stack Overflow

    Oct 1, 2015 · The 100% solution is to forget using the mysql module: import mysql.connector, instead use pymysql via import pymysql. I installed it via the instructions: python3 -m pip install …

  8. mysql - DBeaver error resolving maven dependencies - Stack …

    I've tried DBeaver on Linux, mysql connector v 5.1.39 worked fine (mysql 5.6.15). I had issues a month ago with dbeaver and connecting to a mssql db, updating dbeaver to the v4.0.0 fixed it, …

  9. How to insert pandas dataframe via mysqldb into database?

    I can connect to my local mysql database from python, and I can create, select from, and insert individual rows. My question is: can I directly instruct mysqldb to take an entire dataframe and …

  10. python - mysql.connector.errors.ProgrammingError: 1045 (28000): …

    Nov 20, 2020 · SELECT user, authentication_string, plugin, host FROM mysql.user; ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'Current-Root …