甘肃铁皮保温施工_鑫诚防腐保温工程有限公司

阿里铁皮保温施工 mysql登录时,ERROR 145 (28): 失实措置主义

铁皮保温

    失实问题的形色:阿里铁皮保温施工

 

ERROR 145 (28): Access denied for user 'ODBC'@'localhost' (using password: NO)

ERROR 145 (28): Access denied for user 'ODBC'@'localhost' (using password: YES)

windows下,以上两个失实的措置法

 

措置法:

  1、找到树立文献my.ini  ,然后将其开,不错遴选用NotePadd++开

 

 

 

2、开后,搜索mysqld要道字

找到后,在mysqld底下添加skip-grant-tables,保存退出。

PS:若辅导不让保存时,不错将该文献剪切到桌面,改保存后再复制到mySQL目次下

# For advice on how to change settings please see# http://dev.mysql.com/doc/refman/5.7/en/server-configuration-defaults.html# *** DO NOT EDIT THIS FILE. It's a template which will be copied to the# *** default location during install, and will be replaced if you# *** upgrade to a newer version of MySQL.

[mysqld]skip-grant-tables

# Remove leading # and set to the amount of RAM for the most important data# cache in MySQL. Start at 7 of total RAM for dedicated server, else 1.# innodb_buffer_pool_size = 128M

# Remove leading # to turn on a very important data integrity option: logging# changes to the binary log between backups.# log_bin

# These are commonly set, remove the # and set as required.basedir = D:\SoftWare\MySQL\mysql-5.7.11-winx64datadir = D:\SoftWare\MySQL\mysql-5.7.11-winx64\Dataport = 336# server_id = .....

# Remove leading # to set options mainly useful for reporting servers.# The server defaults are faster for transactions and fast SELECTs.# Adjust sizes as needed, experiment to find the optimal values.# join_buffer_size = 128M# sort_buffer_size = 2M# read_rnd_buffer_size = 2M

sql_mode=NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES

 

 这么,是用于跳过密码问题,然则呢,这并不可措置!

 

 3、重启mysql工作阿里铁皮保温施工

 

在职何旅途目次下,齐不错关闭/重启mysql的工作呢。(因为,之前,管道保温施工也曾树立全局的环境变量了)

net stop mysql

net start mysql

 

4、干预数据库,重建设密码。

mysql -u root -p         Enter

毋庸管password          Enter

 

mysql> use mysql;      Enter

mysql> update mysql.user set authtntication_string=password('rootroot') where user='root';   (密码我方设)

 

 

mysql> flush privileges;      刷新数据库

mysql> quit;

 

 

 5、密码重建设奏效,改好之后,再修改下my.ini这个文献,把咱们刚才加入的"skip-grant-tables"这行删除,保存退出再重启mysql工作就不错了。

 

 

 6、重启mysql工作,并登录mysql用户,用户是root,密码是rootroot。

D:\SoftWare\MySQL\mysql-5.7.11-winx64\bin> net stop mysql

联系人:何经理

D:\SoftWare\MySQL\mysql-5.7.11-winx64\bin> net start mysql

D:\SoftWare\MySQL\mysql-5.7.11-winx64\bin>mysql -u root -p

Enter password:rootroot

 

 

感谢底下的博主:

 http://www.ithao123.cn/content-1746582.html 

 

荐册本:

 

 

 

 

 

 

 

 

 

 

 

 

相关词条:管道保温     塑料管材生产线     锚索    玻璃棉毡    PVC管道管件粘结胶

1.本网站以及本平台支持关于《新广告法》实施的“极限词“用语属“违词”的规定,并在网站的各个栏目、产品主图、详情页等描述中规避“违禁词”。
2.本店欢迎所有用户指出有“违禁词”“广告法”出现的地方,并积极配合修改。
3.凡用户访问本网页,均表示默认详情页的描述,不支持任何以极限化“违禁词”“广告法”为借口理由投诉违反《新广告法》,以此来变相勒索商家索要赔偿的违法恶意行为。

产品中心 新闻资讯 联系鑫诚