ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
2015-11-12 19:29
435 查看
To start mysqld at boot time you have to copy
support-files/mysql.server to the right place for your system
PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
To do so, start the server, then issue the following commands:
/usr/bin/mysqladmin -u root password 'new-password'
/usr/bin/mysqladmin -u root -h w password 'new-password'
Alternatively you can run:
/usr/bin/mysql_secure_installation
which will also give you the option of removing the test
databases and anonymous user created by default. This is
strongly recommended for production servers.
See the manual for more instructions.
You can start the MySQL daemon with:
cd /usr ; /usr/bin/mysqld_safe &
You can test the MySQL daemon with mysql-test-run.pl
cd /usr/mysql-test ; perl mysql-test-run.pl
Please report any problems with the /usr/bin/mysqlbug script!
support-files/mysql.server to the right place for your system
PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
To do so, start the server, then issue the following commands:
/usr/bin/mysqladmin -u root password 'new-password'
/usr/bin/mysqladmin -u root -h w password 'new-password'
Alternatively you can run:
/usr/bin/mysql_secure_installation
which will also give you the option of removing the test
databases and anonymous user created by default. This is
strongly recommended for production servers.
See the manual for more instructions.
You can start the MySQL daemon with:
cd /usr ; /usr/bin/mysqld_safe &
You can test the MySQL daemon with mysql-test-run.pl
cd /usr/mysql-test ; perl mysql-test-run.pl
Please report any problems with the /usr/bin/mysqlbug script!
相关文章推荐
- 安装PostgreSQL数据库(Linux篇)
- java 短信接口开发
- linux下设计一个Shell脚本:求命令行上所有整数和
- POJ 2528 线段树 + 离散化
- 自己做的demo--左连接
- 滴滴欲垄断 还需跨过这三座大山
- Mac Git安装
- Debian系统关闭iptables的conntrack跟踪
- java jni 入门6 - 调用Java方法 静态和非静态
- byte数组和文件互相转换
- 斯坦福大学(Andrew Ng)机器学习课程讲义
- poj 1274 The Perfect Stall
- Iterator和ListIterator区别
- iOS之Drawing<1>
- ViewPager小细节
- kmeans聚类算法及matlab实现
- 2.ubuntu14.04 配置 jdk 8 环境变量
- 整理 collectionView 水平自定义布局
- redis的一次持久化入侵
- PowerShell 之 CA Server