Portál AbcLinuxu, 18. května 2025 18:03
root@server:/usr/local/mysql# scripts/mysql_install_db
Installing MySQL system tables...
ERROR: 1136 Column count doesn't match value count at row 1
071223 20:51:24 [ERROR] Aborting
071223 20:51:24 [Note] ./bin/mysqld: Shutdown complete
Installation of system tables failed!
Examine the logs in /var/lib/mysql for more information.
You can try to start the mysqld daemon with:
./bin/mysqld --skip-grant &
and use the command line tool
./bin/mysql to connect to the mysql
database and look at the grant tables:
shell> ./bin/mysql -u root mysql
mysql> show tables
Try 'mysqld --help' if you have problems with paths. Using --log
gives you a log in /var/lib/mysql that may be helpful.
The latest information about MySQL is available on the web at
http://www.mysql.com
Please consult the MySQL manual section: 'Problems running mysql_install_db',
and the manual section that describes problems on your OS.
Another information source is the MySQL email archive.
Please check all of the above before mailing us!
And if you do mail us, you MUST use the ./bin/mysqlbug script!
Dalej si uz neviem poradit, naozaj som uz vyskusal vsetko co som vedel, ale nie a nie to nainstalovat.
root@server:/usr/local/mysql# ./bin/mysqld --skip-grant &
[1] 12735
root@server:/usr/local/mysql# 071223 20:56:36 [ERROR] Fatal error: Please read "Security" section of the manual to find out how to run mysqld as root!
071223 20:56:36 [ERROR] Aborting
071223 20:56:36 [Note] ./bin/mysqld: Shutdown complete
[1]+ Exit 1 ./bin/mysqld --skip-grant
Vzdy to dopadne nejak takto ...
root@server:/usr/local/mysql# ./bin/mysql -u root mysql
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
Uz naozaj neviem ako na to, prosim Vas, ak mate nejaky navod ako nainstalovat MySQL na Slackware, dajte sem link, lebo uz si naozaj neviem pomoct ... Nemozem instalovat zo zdrojovych kodov, pretoze ten server by to asi nikdy neskompiloval ... vdaka za rady
root@server:/usr/local/mysql# ./bin/mysqld --skip-grant --user=mysql &
[1] 29601
root@server:/usr/local/mysql# 071223 22:09:18 InnoDB: Started; log sequence number 0 43634
071223 22:09:18 [ERROR] ./bin/mysqld: Can't find file: './mysql/time_zone_leap_second.frm' (errno: 13)
071223 22:09:18 [Warning] Can't open and lock time zone table: Can't find file: './mysql/time_zone_leap_second.frm' (errno: 13) trying to live without them
071223 22:09:18 [ERROR] ./bin/mysqld: Can't find file: './mysql/db.frm' (errno: 13)
071223 22:09:18 [ERROR] Cannot open mysql.db
071223 22:09:18 [ERROR] ./bin/mysqld: Can't find file: './mysql/user.frm' (errno: 13)
071223 22:09:18 [ERROR] Cannot open mysql.user
071223 22:09:18 [ERROR] Event Scheduler: An error occurred when initializing system tables.
071223 22:09:18 [Note] ./bin/mysqld: ready for connections.
Version: '6.0.3-alpha' socket: '/var/lib/mysql/mysql.sock' port: 3306 MySQL Community Server (GPL)
Ale stale to tam pise tie chyby, nevie to najst "./mysql/time_zone_leap_second.frm", "./mysql/user.frm", "./mysql/db.frm" ... neviete este co s tym ? vdaka
S takymto pristupom na komunitnom portaly si tu ubohy jedine ty - ty impotent.
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.