一个小时前我注意到mysql(mariadb 5.2.5)服务器没有在我的debian VPS上运行。 所以我立即运行“/etc/init.d/mysql restart”,它开始就好了。 守护进程日志关于mariadb崩溃时所说的内容 Apr 23 11:58:15 slides mysqld_safe: Number of processes running now: 0 Apr 23 11:58:15 slides mysqld_safe: mysqld restarted Apr 23 11:58:21 slides mysqld: 110423 11:58:21 [Warning] '–default-character-set' is deprecated and will be removed in a future release. Please use '–character-set-server' instead. Apr 23 11:58:21 slides mysqld: 110423 11:58:21 [Warning] […]
我有一个MariaDB实例使用PAM来对Active Directory进行身份validation。 用这个服务进行远程authentication是否安全? 我在auth过程中运行了一个Wireshark跟踪,并且密码没有被清晰的发送,但是哈希密码有多安全?
我试图让phpmyadmin与MySQL(mariadb叉)工作。 当我尝试访问phpmyadmin时,在浏览器中收到此错误消息: > phpMyAdmin – Error The mysqli extension is missing. Please check your > PHP configuration. <a href="Documentation.html#faqmysql" > target="documentation"><img src="themes/dot.gif" title="Documentation" > alt="Documentation" class="icon ic_b_help" /></a> 所以我在/etc/php.ini中添加了下面这行: extension=/usr/lib64/php/modules/mysqli.so 现在,当我启动apache,我在php_errors.log中得到以下错误: [12-Feb-2013 00:09:44] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/mysqli.so' – libmysqlclient.so.16: cannot open shared object file: No such file or directory […]
我在一台计算机(Ubuntu 14.04)上安装了MariaDB服务器(10.0.12),其他服务器通过ssh连接到安全目的。 ssh隧道是通过autossh打开的,如下所示: autossh -M 3306 -f -Ng -L 3306:127.0.0.1:3306 mariaDB@server-ip 不幸的是,我常常以“无法连接”或“丢失连接”错误结束: SQLSTATE[HY000] [2003] Can't connect to MySQL server on '127.0.0.1' (111) or SQLSTATE[HY000] [2013] Lost connection to MySQL server at 'reading authorization packet', system error: 0. 这是一些额外的信息,因为它可能有帮助: MariaDB [(none)]> show global variables like '%timeout'; +—————————–+———-+ | Variable_name | Value | +—————————–+———-+ | connect_timeout | […]
我正在为WordPress博客设置一个VPS 。 我使用Ubuntu 14.04 LTS 64位,然后我安装了Nginx 1.7.8,HHVM 3.6.0,MariaDB(不记得版本)。 最后,我下载了WordPress 4.1.1,创build数据库并使用正确的参数(数据库名称,用户名和密码)编辑wp-config.php文件后,尝试连接到博客进行设置。 我之前做过这种安装,但几个月前,我不记得有任何问题。 但是,在尝试了解我所知道的一切之后, 我无法解决问题 :每次我尝试在浏览器上加载博客以启动最终的WordPress安装过程(名称,pipe理员和密码的表单)时,我都会看到这个传奇的,可怕的消息: Error establishing a database connection 事实是,MySQL正在运行,但我不明白的是错误的。 我在我的博客的根目录下创build了一个testconnection.php文件,内容如下 <?php $link = mysql_connect('localhost', 'root', 'password'); if (!$link) { die('Could not connect: ' . mysql_error()); } echo 'Connected successfully'; mysql_close($link); ?> 当然,使用正确的密码进行编辑。 当我在浏览器中加载该php文件时,我得到一个 "Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)" 该文件不在任何地方,我的/etc/mysql/my.cnf指向/var/run/mysql/mysqld.sock […]
是否可以从mariadb 10.0转储禁用“STATS_PERSISTENT = 0”,恢复到mariadb 5.5 ENGINE = InnoDB DEFAULT CHARSET = utf8 COLLATE = utf8_bin STATS_PERSISTENT = 0;
我们在一台高效率的服务器上使用MySQL 5.6,我们希望迁移到MariaDB。 原因很多 – 但主要原因是MariaDB上的Master < – > Master Replication正在运行。 有很多关于从MySQL 5.5到Mariadb的Replacement指南(在我们的testing中也可以使用),但是在我们的testing中,在基于MySQL 5.6的机器上执行时,mariadbreplace工具无法正常工作。 有没有什么暗示这可以如何工作? Bonus Point for Hints如何在Freebsd 10.0上完成
我试图通过SSH使用Navicat Premium从Windows连接到远程MariaDB服务器,但所有的时候我不能得到这个错误: 2013 – 在'读取初始通信数据包'时丢失与MySQL服务器的连接,系统错误:0 我已经阅读并遵循互联网上的许多指南,所以我迷失在这一点,不知道还有什么要做。 这是我所做的: 在服务器端(远程主机CentOS 6.6和MySQL Ver 15.1 Distrib 5.5.44-MariaDB,Linux(x86_64)使用readline 5.1): /etc/my.cnf.d/server.cnf设置这个参数: [mysqld] #skip-networking #tried with this bind-address = 0.0.0.0 #tried with this bind-address = 127.0.0.1 #tried with this bind-address = localhost 结果:没有成功,同样的错误,无法连接 /etc/hosts.allow设置这个参数: # tried with this #ALL:ALL # tried with this ALL:PARANOID # tried with this ALL:MY_IP_ADDR 结果:没有成功,同样的错误,无法连接 /etc/ssh/sshd_config设置参数允许TCP转发: AllowTcpForwarding是的 […]
Centos7新手,试图安装MariaDB: sudo yum install mariadb-server mariadb 这就是它吐出来的东西: Loaded plugins: fastestmirror, langpacks, rhnplugin This system is receiving updates from RHN Classic or Red Hat Satellite. Loading mirror speeds from cached hostfile Package mariadb-server is obsoleted by MariaDB-server, trying to install MariaDB-server-10.1.5-1.el7.centos.x86_64 instead Package mariadb is obsoleted by MariaDB-client, trying to install MariaDB-client-10.1.5-1.el7.centos.x86_64 instead Resolving Dependencies –> […]
早上好 – 我已经回顾了以前的一篇文章,关于将性能模式改为“在configuration设置中closures”,看起来好像我们的configuration已经设置为这个,所以不知道是什么原因导致了崩溃的问题。 [root@#### etc]# vim my.cnf [mysqld] general_log = 1 general_log_file=/var/log/mariadb/query.log datadir=/var/lib/mysql socket=/var/lib/mysql/mysql.sock symbolic-links=0 innodb_file_per_table = 1 #thread_stack = 131072 # mgk change 11/23/15 thread_stack = 256k net_buffer_length = 2K read_rnd_buffer_size = 256K read_buffer_size = 256K sort_buffer_size = 64K table_open_cache = 4 max_allowed_packet = 1M key_buffer_size = 16K performance_schema = off 这是一个日志摘要 InnoDB: mmap(137756672 […]