我试过两次,但总是失败。根据这个小家伙的说法,debian停止了mysql的打包。我试图通过安装MariaDB来解决这个问题,但是我很难找到一个有用的教程。然后我尝试使用本教程,但是在安装客户机时出现了以下错误:
miked@debian:~$ sudo apt install mysql-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that y
我编辑了deian.cnf以更改mysql (ubuntu服务器)的密码。
sudo vi /etc/mysql/debian.cnf
我变了
user=debian password=*
至
user=debian password=mypassword
然后我尝试进入mysql的控制台。
mysql -udebian-sys-maint -p
输入密码'mypassword‘
它报告说
mysql error 1045(280000) access denied for user 'debian-sys-maint '@' localhost using p
一开始我做了
debian@osboxes:~/Desktop$ mysql -u root -p
Command 'mysql' not found, but can be installed with:
sudo apt install mysql-client-core-8.0 # version 8.0.18-0ubuntu0.19.10.1, or
sudo apt install mariadb-client-core-10.3 # version 1:10.3.20-0ubuntu0.19.10.1
然后我安装了
debian@osboxes:~/D
您好,我无法在我新安装的Debian 10机器上安装MySQL8。下面是我所做的:
$ cd /tmp
$ wget https://dev.mysql.com/get/mysql-apt-config_0.8.13-1_all.deb
$ sudo dpkg -i mysql-apt-config_0.8.13-1_all.deb
After this ran
$ sudo apt update
$ sudp apt install mysql-server
I am getting the bellow error:
The following packages have
我试图安装mysql,但我得到了错误:
mysql_upgrade: Got error: 1045: Access denied for user 'debian-sys-maint'@'localhost' (using password: YES) while connecting to the MySQL server
经过一些搜索,我发现这可能是允许访问,所以我这样做了:
sudo cat /etc/mysql/debian.cnf
然后在mysql中设置debian密码:
mysql -u root -p <password>
GRANT
在安装Debian 7的MySQL 5.6forDebian7(用ISPConfig)时遇到了很多麻烦
(FYI,我遵循了本教程:http://xmodulo.com/2013/12/upgrade-mysql-server-debian-ubuntu.html)
我的PHPMyAdmin向我展示了这样的信息:
Your PHP MySQL library version 5.5.35 differs from your MySQL server version 5.6.16. This may cause unpredictable behavior.
我试着用智能更新php5-mysql,
我尝试使用命令apt-get install mysql-server mysql-common安装mysql服务器。
但产出是:
Reading package lists... Done
Building dependency tree
Reading state information... Done
mysql-common is already the newest version (5.8+1.0.2).
The following additional packages will be installed:
default-mysql-server mariadb-clien
我试图在Debian 10上安装MySQL,我根据安装做了所有事情,但是我得到了如下所示的错误。有人能帮我解决这个问题吗?
matt@debian:~$ sudo apt install mysql-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situati
我第一次在StackOverflow上问这个问题,但是有人告诉我,我在这里得到答案的机会更大
我正试图在我的上安装MySQL工作台。它运行LinuxDebian10buster。
因此,我运行以下命令:
sudo apt-get update
然后
sudo apt-get install mysql-workbench
我知道这个错误:
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unsta
我的服务器在试图安装apc时出现故障。/var/log/syslog sais:
Aug 20 01:16:00 vps29386 /etc/mysql/debian-start[23765]: Upgrading MySQL tables if necessary.
Aug 20 01:16:00 vps29386 /etc/mysql/debian-start[23768]: /usr/bin/mysql_upgrade: the '--basedir' option is always ignored
Aug 20 01:16:00 vps29386 /etc/mysql
通过遵循本教程,我试图在Debian上安装MySQL 5.7:
https://dbahire.com/how-to-install-mysql-server-on-debian-stretch/
正如您所知道的,Debian使用MariaDB而不是MySQL,这就是为什么我要这么做的原因。无论如何,我面临的问题如下:
wget -O /tmp/RPM-GPG-KEY-mysql https://repo.mysql.com/RPM-GPG-KEY-mysql
我得到的错误是:
The certificate of repo.myql.com is not trusted
一种选择是使用wge
我正试图在Debian上安装MySQL 5.6。
在这里,我所做的:
sudo dpkg -i mysql-5.6.12-debian6.0-i686.deb
cd /usr/local
ln -s /opt/mysql/server-5.6 mysql
cd mysql
scripts/mysql_install_db.sh --user=mysql --datadir=/var/lib/mysql
这就是我得到的错误:
FATAL ERROR: Could not find @bindir@/my_print_defaults
If you compiled from source, y
试图在Ubuntu上安装AutoMySQLBackup
sudo apt-get update
sudo apt-获得升级
apt-获取安装自动化系统
我得到以下错误:
Setting up automysqlbackup (2.6+debian.3-1ubuntu1) ...
Could not open required defaults file: /etc/mysql/debian.cnf
Fatal error in defaults handling. Program aborted
Processing triggers for libc-bin (2.19-
我正在使用Debian8.0 Jessie并试图安装mysql。
我的/etc/apt/ some . post是可以的,但是我没有足够的声誉点来在只允许两个链接的情况下发布配置,但是对于一些空格,我的配置如下:
deb http: // ftp.debian.org/debian jessie main non-free contrib
deb-src http: // ftp.debian.org/debian jessie main non-free contrib
deb http: // ftp.debian.org/debian jessie-updates main contri
我正在使用Debian 9,最近我将PHP从5.6升级到7.4。我被撞到了
未找到类“SoapClient”
运行旧PHP脚本时出错,该脚本在PHP5.6下运行得很好。phpinfo()列出了"SOAP“模块,但是它没有一个专门的"soap”部分,列出了"Soap客户端“(如前面提到的)。
我认为问题在于我没有安装php7.4-soap扩展,所以我运行了sudo apt-get install php7.4-soap,但是我得到了以下错误:
Building dependency tree
Reading state information...