Home > Database > Mysql Tutorial > mysql5.5遇到的路径问题_MySQL

mysql5.5遇到的路径问题_MySQL

WBOY
Release: 2016-06-01 13:04:23
Original
1084 people have browsed it

下面是my.ini里面的参数

basedir="C:/Program Files/MySQL/MySQL Server 6.0/"

datadir="" 存放表结构的路径

innodb_data_home_dir="" 这个是存放表数据的路径 ibdata1(存放表数据)

MYSQL出错1030 Got error -1 from storage engine

你应该是使用的innodb,检查你的my.cnf或my.ini,里面会有一个参数innodb_force_recovery,你看看他的值,默认是没有这个参数,没有的话,他的默认值是0,

这个参数的值如果大于0,innodb会被禁止使用insert、update、delete命令,你可以尝试将他的值设置为0,看看你的mysql是否正常,如果正常就用就行了。
Copy after login
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template