老师你好,
我用postman 循环2000次查询数据库,然后数据库进程没了,服务开启不了,.err如下 我没有看到data目录下有ibdata1这个文件
2018-11-30T09:38:30.239321Z 0 [System] [MY-010116] [Server] C:\Program Files\MySQL\MySQL Server 8.0\bin\mysqld (mysqld 8.0.13) starting as process 2420 2018-11-30T09:38:30.359846Z 1 [ERROR] [MY-012611] [InnoDB] Operating system error number 2 in a file operation. 2018-11-30T09:38:30.360497Z 1 [ERROR] [MY-012646] [InnoDB] File C:\Program Files\MySQL\MySQL Server 8.0\data\ibdata1: ‘open’ returned OS error 71. Cannot continue operation 2018-11-30T09:38:30.361208Z 1 [ERROR] [MY-012981] [InnoDB] Cannot continue operation.
下面是我的MY.INI 请老师帮帮忙解答 我可以提供云服务器的账号密码!!!
# For advice on how to change settings please see
# http://dev.mysql.com/doc/refman/5.6/en/server-configuration-defaults.html
# *** DO NOT EDIT THIS FILE. It's a template which will be copied to the
# *** default location during install, and will be replaced if you
# *** upgrade to a newer version of MySQL.
[client]
default-character-set = utf8mb4
[mysql]
default-character-set = utf8mb4
[mysqld]
character-set-client-handshake = FALSE
character-set-server = utf8mb4
collation-server = utf8mb4_bin
init_connect='SET NAMES utf8mb4'
# Remove leading # and set to the amount of RAM for the most important data
# cache in MySQL. Start at 70% of total RAM for dedicated server, else 10%.
innodb_buffer_pool_size = 512M
# Remove leading # to turn on a very important data integrity option: logging
# changes to the binary log between backups.
# log_bin
# These are commonly set, remove the # and set as required.
basedir = C:\Program Files\MySQL\MySQL Server 8.0
datadir = C:\Program Files\MySQL\MySQL Server 8.0\data
port = 3306
# server_id = .....
# Remove leading # to set options mainly useful for reporting servers.
# The server defaults are faster for transactions and fast SELECTs.
# Adjust sizes as needed, experiment to find the optimal values.
max_connections=1000
join_buffer_size = 128M
sort_buffer_size = 32M
read_rnd_buffer_size = 32M