我在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.
我试图在元数据中创建到MySQL (MariaDB )的远程服务器的数据库连接,但由于错误:连接失败,检查失败。必须更改数据库设置。
Echec de la connexion Vous devez modifier les paramètres de la base de données.
java.lang.RuntimeException: java.sql.SQLNonTransientConnectionException: Could not connect to : unexpected end of stream, read 0 bytes from 4 (socket w
我想在服务器上安装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