我在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
这个错误呢?用plesk从mariadb 10.1到10.2对debian 9进行升级
知道如何修复它并继续升级吗?
apt install mariadb-server-10.2
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
libmariadb3 libmariadbclient18 mariadb-client-10.2 mariadb
我试图通过SSH为Bitnami的WordPress多层堆栈/进行数据库管理,具体来说,我想导出并进行初始导入(尽管我可能只创建一个新的数据库)。
当我运行以下命令时,会得到以下错误:
命令:mysqldump -u root -p bitnami_wordpress > bitnami_wordpress.sql
输出:mysqldump: Got error: 2002: "Can't connect to local MySQL server through socket '/opt/bitnami/mariadb/tmp/mysql.sock' (
我使用docker-compose up -d启动我的服务,然后使用docker-compose down停止它。
问题;似乎我的数据没有持久化;"${SQL_INIT}:/docker-entrypoint-initdb.d"总是被执行。
我为持久化设置了卷db_data;docker volume ls返回
local backend_mariadb-data
local docker_db_data
local docker_db_logs
这是我的船坞写作
version: "3"
services:
backend:
我试图通过SSH为/进行数据库管理,具体来说,我想导出并进行初始导入(尽管我可能只创建一个新的数据库)。
当我运行以下命令时,会得到以下错误:
命令:mysqldump -u root -p bitnami_wordpress > bitnami_wordpress.sql
输出:mysqldump: Got error: 2002: "Can't connect to local MySQL server through socket '/opt/bitnami/mariadb/tmp/mysql.sock' (2)" when trying
我正在做:
$ sudo vim /etc/mysql/mariadb.conf.d/50-server.cnf
然后再加
跳过-赠与表
然后
$ sudo service mysqld restart
然后
$ mysql -u root -p
Enter password:
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 30
Server version: 10.1.47-MariaDB-0ubuntu0.18.04.1 Ubuntu 18.04
Copy
MariaDB是使用yum在Centos7上使用存储库http://yum.mariadb.org/10.3/centos7-amd64安装的。MariaDB的日志文件被发送到目录/var/lib/mysql。如何将位置更改为其他位置(如/var/log/mysql/ )?
[michael@developserver mysql]$ mysql -u root -p
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 19
Server version: 10.3.
我想在服务器上安装mariaDB 10.0。但它已经安装了mysql5.5。所以我尝试安装mariaDB来使用apt-get命令。
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
gir1.2-ubuntuoneui-3.0 libubuntuoneui-3.0-1 thunderbird-globalmenu
Use 'apt-get autoremov
当我通过"yum install MariaDB-server MariaDB-client“在CentOS6.5上安装MariaDB时,服务器显示"Transaction Check Error:
file /usr/share/mysql/czech/errmsg.sys from install of MariaDB-server-10.0.9-1.el6.i686 conflicts with file from package mysql-libs-5.5.36-1.el6.remi.x86_64 file /usr/share/mysql/danish/errm
我的CentOS 7服务器最近崩溃了,因为它在运行时断开了硬盘,现在MariaDB无法启动,我也没有收到任何错误日志。
服务器上的其他一切似乎都运行良好,在磁盘上运行xfs_repair (类似于xfs的fsck )没有帮助。具体而言,我所遇到的错误如下:
$ sudo systemctl start mariadb
Job for mariadb.service failed because the control process exited with error code. See "systemctl status mariadb.service" and "j
主要问题是,我在MariaDB上编写了一条安全敏感语句(以及许多其他语句),因此我想删除提示历史记录(比如Linux上的命令history -c ):
jordiba90@lts:~$ sudo mariadb -u root -p
[sudo] contraseña para jordiba90:
Enter password:
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 36
Server version: 10.3.25-MariaDB-0ubunt
我尝试使用命令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
嗯,我一天的第一部分是研究如何删除MySQL来安装MariaDB,而我一天中的第二段时间是试图重新安装MySQL,因为有些事情搞砸了。所以现在我来群众那里寻求帮助。
我有一个盒子上面有cPanel/WHM。CentOS 5.6 64位。我已经(通过WHM)将MySQL升级到5.5.24,这是成功的。经过一些研究后,我发现的选项是一个带有管道、greps和dashes的令人畏惧的Linux命令,以及另一个命令。
yum remove mysql
我试过了,它似乎删除了mysql.....ish。我尝试从MariaDB中安装此说明页,它开始执行它的任务,然后出现了大量错误(下面是一个小示例):
T