安装在Ubuntu 16.04 LTE Xampp (lampp)上都很好,它可以工作:
# ~ $ Sudo / opt / lampp / lampp status
Version: XAMPP for Linux 5.6.20-0
Apache is running.
MySQL is running.
ProFTPD is running.
但是当我想进入有mysql的终端时:
#:~$ mysql -u root
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using p
我正在尝试设置卡迈利奥与MySQL插件。我按如下方式设置配置:
## your SIP domain
SIP_DOMAIN=example.org
DBENGINE=MYSQL
## database host
DBHOST=localhost
## database host
DBPORT=3306
当我运行kamdbctl create时,我得到以下结果:
INFO: test server charset
mysql: [Warning] Using a password on the command line interface can be insecure.
ERROR 10
有许多类似的问题,但没有一个问题对我有帮助。
我在Windows上使用MySQL的根/根凭据已经有一段时间了,但是最近我无法登录
> mysql
ERROR 1045 (28000): Access denied for user 'ODBC'@'localhost' (using password: NO)
> mysql -uroot
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
> m
我有一个linux,我可以使用命令行连接到它。
root@vps27625:~# mysql -u root -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 4604
Server version: 5.5.38-0ubuntu0.14.04.1 (Ubuntu)
Copyright (c) 2000, 2014, Oracle and/or its affiliates. All rights reserved.
Oracle
我已经登录到CentOS服务器,我想查看所有mysql数据库。因此,我切换到Linux root用户,并尝试登录mysql。通常(在其他服务器上),我使用一个简单的mysql命令完成此操作,但在这里我得到了一个访问被拒绝的消息:
[root@our.server.com kramer65]# mysql
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
我想,如果我是Linux的root用户,我可以做任何我想做的事情。有没有办法让我以Linux r
我试着访问MySQL,但是我不能,我在mysql配置中写了跳过授权表,然后重启它,但是它仍然不能工作。
$ mysql -u root -p
ENTER PASSWORD: *****
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
我也尝试连接phpmyadmin,但我不能
Cannot log in to the MySQL server
和
mysqli_real_connect(): (HY000/1045): Access den
我已经在Raspberry上安装了nginx,运行Raspbian扩展,并在运行以下过程中安装了Wordpress
sudo apt install mysql-server
sudo apt install php-mysql
我设置了MariaDB并用
sudo mysql_secure_installation
sudo mysql -uroot -p
create database wordpress;
GRANT ALL PRIVILEGES ON wordpress.* TO 'root'@'localhost' IDENTIFIED BY '
我使用创建帐户'a'@'%'的根帐户。但是,当我指定主机参数时,我不能使用该帐户连接到MySQL服务器。我可以在没有-h参数的情况下成功连接。请参阅以下成绩单。我希望有人能帮我解释一下。谢谢。
mysql> grant all on *.* to 'a'@'%' identified by a;
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server ver
我加了这一行
#mysql password
alias mysql='mysql -umilenko -p*myrealpass*** -hlocalhost'
不管怎样,它不起作用
mysql: [Warning] Using a password on the command line interface can be insecure.
ERROR 1045 (28000): Access denied for user 'milenko'@'localhost' (using password: YES)
也是
mysql -u roo
我在我的linux服务器上安装了一个MySQL,我忘记了它的密码,所以我用我在网上找到的方法修改了它。我所做的如下:
/etc/init.d/mysql stop
mysqld_safe --skip-grant-tables &
mysql --user root mysql
SELECT * FROM user; // I checked if I could access the user table or not
update user SET password = PASSWORD('new_pass') WHERE user = 'root'
我正在开发Ubuntu 16.10。我使用10.1.26-MariaDB,它工作得很好。
mysql Ver 15.1 Distrib 10.1.26-MariaDB, for debian-linux-gnu (x86_64) using readline 5.2
当我尝试安装PHPMyAdmin时,我收到以下错误消息:
"ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)".
为什么会发生这种情况?
我在PHPMyAdmin安
我已经从apache.Then在我的linux上安装了MYSQL,我从以下命令启动mysql:sudo /opt/lampp/bin/mysql -u root.I在MYSQL中使用以下命令更改了密码:
use mysql
UPDATE user
SET Password=PASSWORD('something')
WHERE user='root';
但是当我退出mysql,然后使用上面的命令输入它时,当我输入以下命令时,它没有要求我输入password.And:sudo /opt/lampp/bin/mysql -u root --password=some
我已经安装了MariaDB服务器:
$ mysql --version
mysql Ver 15.1 Distrib 10.0.32-MariaDB, for debian-linux-gnu (x86_64) using readline 5.2
并创建了新用户'alex':
> SELECT User, Host FROM mysql.user;
+------------------+-----------+
| User | Host |
+------------------+-----------+
| root
在尝试mysql -u user -p命令时,我一直得到错误1045(28000)。相同的密码在MySQL命令行客户机中工作,服务器根据Workbench和Notifier运行。不确定这是否相关,但唯一奇怪的是Notifier显示我有两件事正在运行,它们都名为"MySQL56_1“,当我试图停止”配置实例“或打开"SQL”的选项时,我会收到错误消息,说它“在Windows中找不到”。
编辑:还没有解决这个问题,这里提到的所有命令都产生了错误1045,其中提到了“user”@“localhost”或“ODBC”@“localhost”
我在mysql帐户上遇到了麻烦,我最终将其缩小到用户的密码,其中包含子字符串'\Y‘。
如果我使用该密码创建一个用户,则无法登录:
mysql> create user 'test'@'localhost' identified by '\Y';
Query OK, 0 rows affected (0.00 sec)
mysql> exit
Bye
$ mysql -u test -p
Enter password:
ERROR 1045 (28000): Access denied for user 'test
我有一个Linux EC2实例,其中安装了MySQL服务器。
我可以使用以下命令使用MySQL root登录:
mysql -u root -p
出于某些原因,我使用以下命令创建了一个用户guest:
CREATE USER 'guest'@'%' IDENTIFIED BY 'passpass';
GRANT ALL PRIVILEGES ON * . * TO 'guest'@'%';
FLUSH PRIVILEGES;
然后退出根用户并尝试使用guest用户登录:
mysql -u guest -p
输入
(对不起,我的英语不好)
这是我的控制台日志:
anton@anton-X451CA:~$ mysql -u root
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
anton@anton-X451CA:~$ mysql -u root -p
Enter password:
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using