我试图在Ubuntu20.04中安装/删除和重新安装/修复Mysql和Workbench,但是始终得到以下消息:
Building dependency tree
Reading state information... Done
mysql-server is already the newest version (8.0.20-2ubuntu20.04).
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet de
MySQL CommunityServer5.7(通过apt安装)运行在托管的虚拟服务器上,只有当我重新启动服务器时,服务才能再次成功启动。但是即使这样,mysql服务也不会偶尔启动。
日志-xe显示:
Nov 16 15:10:28 Ubuntu-1604-xenial-64-minimal systemd[1]: Starting MySQL Community Server...
-- Subject: Unit mysql.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedes
我使用的是Ubuntu14.04.3LTS,我使用的是MySQL 5.6.24Via (https://launchpad.net/~ondrej/+archive/ubuntu/mysql-5.6),并且刚刚尝试更新它,但是它死了:
0 [Note] /usr/sbin/mysqld (mysqld 5.6.27-0ubuntu0.14.04.1) starting as process 3486 ...
3486 [Note] Plugin 'FEDERATED' is disabled.
3486 [Note] InnoDB: Using atomics to ref c
我在Ubuntu16.04上面临的一个非常愚蠢的问题。我想同时删除MySQL和MariaDB客户端。如果运行apt remove mysql-client*,我会收到以下消息:
The following additional packages will be installed:
mariadb-client mariadb-client-10.0 mariadb-client-core-10.0 mariadb-common
The following packages will be REMOVED:
mysql-client mysql-client-5.7 mysql-cli
我已经将Ubuntu10.04LTS作为一个LAMP服务器安装在一台机器上。我的MySQL连接经常死掉,我收到以下错误消息:
Warning: mysql_connect(): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111)
在此之后,我必须重新启动我的服务器,以使它再次工作。
这似乎是在没有警告的情况下发生的。调试此问题的最佳方法是什么?我对命令行Linux相当陌生,所以请轻点。
编辑:在查看mysql日志时,我发现了以下内容:
100813
我在焦点Fossa,我已经安装mysql。我试图删除它并安装mariadb。我试过sudo apt-get remove mysql,但是当我做mysql -V的时候,我得到了mysql Ver 8.0.20-0ubuntu0.20.04.1 for Linux on x86_64 ((Ubuntu))。然后我尝试了sudo apt-get purge mysql*,它给了no matches found
我尝试了下面的操作,并得到了相同的错误
sudo apt-get remove mysql-server
Setting up mysql-server-8.0 (8.0.20-0ubun
请有人告诉我为什么我的航站楼显示:
root@prince-HP-ProBook-6470b:~# apt-get install mysql-server mysql-client
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
galera-3 iproute libdbd-mysql-
我需要完全删除关于MySQL的所有内容。它没有启动,所以我决定删除它。但是,在安装过程中发生了这样的情况:
sta@daPC:~$ sudo apt-get install mysql-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
libdbd-mysql-perl libmysqlclient18 mysql-client-5.6 my
我在生产服务器上安装了php5.6和apache2。
我在我的生产服务器上得到了我的poject的错误:Call to undefined function curl_init()
我必须为我的项目安装php-curl。我运行sudo apt-get install php5-curl
....
WARNING: The following packages cannot be authenticated!
php5-mysql php5-common php5-curl
....
Err http://ppa.launchpad.net/ondrej/php5/ubuntu/ trusty
当我启动Ubuntu软件中心时,它说,在修复包目录之前,我什么也做不了。然而,修理失败了。
我运行了sudo apt-get -f install,发现问题是:
mysql-server-5.5 depends on mysql-server-core-5.5 (= 5.5.24-0ubuntu0.12.04.1); however:
Version of mysql-server-core-5.5 on system is 5.5.28-0ubuntu0.12.04.2.
因此,问题是,如何安装该版本并解决依赖关系问题?
我已经安装了MariaDb作为它的Ubuntu社区的支持,在最新的LTS的发布说明中提到过。
在此之后,我尝试安装Mariadb-client,该客户端也已成功安装,之后有GUI工具很好,所以决定从Ubuntu-软件中心和终端安装MySql-工作台,但这会导致以下所述的错误:
通过Ubuntu的
错误-软件-中心-
This error could be caused by required additional software packages which are missing or not installable. Furthermore there could be a confl
root@administrator-desktop:/etc/mysql# sudo apt-get remove php5-mysql
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package php5-mysql is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 57 not upgraded.
2 not fully instal
我有两个mysql更新不能安装在20.04上:
2 updates could not be installed automatically. For more details,
see /var/log/unattended-upgrades/unattended-upgrades.log
我尝试了以下几点:
$ sudo apt install mysql-server-8.0 mysql-client-8.0
The following packages have unmet dependencies:
mysql-client-8.0 : Depends: mysql-common
我在15个数据库中有大约6000个InnoDB表,使用innodb_file_per_table时,我发现每次重新启动Ubuntu服务器时,MySQL都会出现错误。
Version: '5.1.56-rel12.7-log' socket: '/var/run/mysqld/mysqld.sock' port: 3306 (Percona Server (GPL), 12.7, Revision 224)
111106 5:09:00 InnoDB: Operating system error number 13 in a file operatio
我根据sendEmail的推荐在Ubuntu服务器12.04LTS上安装了http://linuxneophyte.com/sendemail-a-light-and-simple-command-line-mailer/
已安装的包( dpkg不可见,但存在/usr/bin/sendEmail ),后面跟着这个提示:
The following packages were automatically installed and are no longer required:
php-mail-mime php-net-socket php-mdb2-driver-mysql php-md
我安装了这个版本的go:
$ go version
go version go1.10.3 linux/amd64
我的资料来源清单包括:
$ cat /etc/apt/sources.list.d/gophers-ubuntu-archive-bionic.list
deb http://ppa.launchpad.net/gophers/archive/ubuntu bionic main
# deb-src http://ppa.launchpad.net/gophers/archive/ubuntu bionic main
当我进行任何包更新时,我看到:
The following p