Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - emresycn

Pages: [1]
1
MySQL / Re: MySQL error ".err"
« on: October 18, 2016, 01:56:16 PM »
Code: [Select]
No such file or directory.


2
MySQL / MySQL error ".err"
« on: October 18, 2016, 05:39:32 AM »
Code: [Select]
[root@srv ~]# service mysql restart
Shutting down MySQL.. SUCCESS!
Starting MySQL.161018 08:28:58 mysqld_safe Logging to '/var/lib/mysql/srv......err'.
...


I'm sorry for my bad english.
I always get this error. I threw Server format. I did re-installation. The same mistake again.

3
MySQL / Re: MySql auto shutdown at night
« on: August 15, 2016, 05:54:40 PM »
I use it

Quote
If you need to auto restart Apache and MySQL in case one or both are crashed, just schedule this SH script on Centos (RHEL) in your cron section.

Save the code section below as restart_apache_mysql.sh in your home directory.
Give the file permissions, so root can execute the script and schedule it in Cron.

Code: [Select]
chmod 755 /home/restart_apache_mysql.sh

Code: [Select]
#!/bin/bash
 
# MYSQL SECTION
RESTARTM="/etc/rc.d/init.d/mysqld restart"
MYSQLD="mysqld"
$PGREP ${MYSQLD}
if [ $? -ne 0 ]
then
$RESTARTM
fi



But most people have this problem. Always at the same times...  :o

4
MySQL / Re: MySql auto shutdown at night
« on: August 15, 2016, 02:39:42 PM »
I have that same problem.

MySQL closes every night between at 3 and 4.





No attack server....

Pages: [1]