2017-12-15 222 views
0

MySQL 버전을 올바른 방법으로 업데이트했지만 클릭하면 오류가 발생하면서 실행이 시작되지 않습니다. Xampp - MySql shutdown - 작동하지 않습니다.

는 지금은 같은를 설치하려면 다음 사항을 다음 :

C:\TEMP에 MySQL을 설치합니다. 이전 설치 폴더를 mysql_old로 만듭니다. 다음 폴더 "bin, include, lib, share, support-files"을 xamp\mysql\ 폴더로 복사하십시오. 나는

보고서 XAMPP에게 새로운 MySQL의 폴더에 복사 xamp\mysql\bin\ 폴더 에

11:53:07 [mysql] Error: MySQL shutdown unexpectedly. 
11:53:07 [mysql] This may be due to a blocked port, missing dependencies, 
11:53:07 [mysql] improper privileges, a crash, or a shutdown by another method. 
11:53:07 [mysql] Press the Logs button to view error logs and check 
11:53:07 [mysql] the Windows Event Viewer for more clues 
11:53:07 [mysql] If you need more help, copy and post this 
11:53:07 [mysql] entire log window on the forums 

로그인 MySQL의 오류를 이전 데이터 폴더를 새 설치에 이전 설치의 데이터 폴더 복사의 my.ini 파일을 복사하지 않았다 :

2017-12-15T13:53:02.700418Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details). 
2017-12-15T13:53:02.700418Z 0 [Note] --secure-file-priv is set to NULL. Operations related to importing and exporting data are disabled 
2017-12-15T13:53:02.700418Z 0 [Note] c:\xampp\mysql\bin\mysqld.exe (mysqld 5.7.20) starting as process 7764 .. 

의 my.ini

# The following options will be passed to all MySQL clients 
[client] 
# password  = your_password 
port   = 3306 
socket   = "C:/xampp/mysql/mysql.sock" 

# The MySQL server 
[mysqld] 
port= 3306 
socket = "C:/xampp/mysql/mysql.sock" 
basedir = "C:/xampp/mysql" 
tmpdir = "C:/xampp/tmp" 
datadir = "C:/xampp/mysql/data" 
pid_file = "mysql.pid" 
# enable-named-pipe 
key_buffer = 16M 
max_allowed_packet = 1M 
sort_buffer_size = 512K 
net_buffer_length = 8K 
read_buffer_size = 256K 
read_rnd_buffer_size = 512K 
myisam_sort_buffer_size = 8M 
log_error = "mysql_error.log" 

# Change here for bind listening 
# bind-address="127.0.0.1" 
# bind-address = ::1   # for ipv6 

# Where do all the plugins live 
plugin_dir = "C:/xampp/mysql/lib/plugin/" 

# Don't listen on a TCP/IP port at all. This can be a security enhancement, 
# if all processes that need to connect to mysqld run on the same host. 
# All interaction with mysqld must be made via Unix sockets or named pipes. 
# Note that using this option without enabling named pipes on Windows 
# (via the "enable-named-pipe" option) will render mysqld useless! 
# 
# commented in by lampp security 
#skip-networking 
skip-federated 

# Replication Master Server (default) 
# binary logging is required for replication 
# log-bin deactivated by default since XAMPP 1.4.11 
#log-bin=mysql-bin 

# required unique id between 1 and 2^32 - 1 
# defaults to 1 if master-host is not set 
# but will not function as a master if omitted 
server-id = 1 



# Comment the following if you are using InnoDB tables 
#skip-innodb 
innodb_data_home_dir = "C:/xampp/mysql/data" 
innodb_data_file_path = ibdata1:10M:autoextend 
innodb_log_group_home_dir = "C:/xampp/mysql/data" 
#innodb_log_arch_dir = "C:/xampp/mysql/data" 
## You can set .._buffer_pool_size up to 50 - 80 % 
## of RAM but beware of setting memory usage too high 
innodb_buffer_pool_size = 16M 
#innodb_additional_mem_pool_size = 2M 
## Set .._log_file_size to 25 % of buffer pool size 
innodb_log_file_size = 5M 
innodb_log_buffer_size = 8M 
innodb_flush_log_at_trx_commit = 1 
innodb_lock_wait_timeout = 50 

## UTF 8 Settings 
#init-connect=\'SET NAMES utf8\' 
#collation_server=utf8_unicode_ci 
#character_set_server=utf8 
#skip-character-set-client-handshake 
#character_sets-dir="C:/xampp/mysql/share/charsets" 

[mysqldump] 
quick 
max_allowed_packet = 16M 

[mysql] 
no-auto-rehash 
# Remove the next comment character if you are not familiar with SQL 
#safe-updates 

[isamchk] 
#key_buffer = 20M 
sort_buffer_size = 20M 
read_buffer = 2M 
write_buffer = 2M 

[myisamchk] 
key_buffer = 20M 
sort_buffer_size = 20M 
read_buffer = 2M 
write_buffer = 2M 

[mysqlhotcopy] 
interactive-timeout 

답변

0

어쩌면 다른 포트에서 mysql을 시작하려고 시도합니다. 3307