Accessing MySQL from Python 3: Access denied for user

前端 未结 8 1735
鱼传尺愫
鱼传尺愫 2021-01-12 05:16

I tried to access MySQL from Python 3.3 with the following methods:

import mysql.connector

config = {
  \'user\': \'###\',
  \'password\': \'******\',
  \'h         


        
8条回答
  •  半阙折子戏
    2021-01-12 05:41

    try the same with mysql command line client:

    mysql -h ##.##.#.## -P #### -u ### -p ########
    

提交回复
热议问题