logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

根据CI模式弄的一个python2访问MySql数据库的class

#!/usr/local/Python-2.7/bin/python# -*- coding: utf-8 -*-import MySQLdbimport stringimport reimport datetimeimport timeimport tracebackclass database:adsys_test_db = {"

#python#数据库
Authentication to host ‘ ‘ for user ‘root‘ using method ‘caching_sha2_password‘ failed

MySql.Data.MySqlClient.MySqlException (0x80004005): Authentication to host ‘127.0.0.1’ for user ‘root’ using method ‘caching_sha2_password’ failed with message: Access denied for user ‘root’@‘localhos

#mysql#数据库
暂无文章信息