ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] Создание начальной таблицы mysql
@ 2005-09-29 12:01 Olvin
  2005-09-29 21:35 ` Yuriy_Gomenyuk
  0 siblings, 1 reply; 4+ messages in thread
From: Olvin @ 2005-09-29 12:01 UTC (permalink / raw)
  To: ALT Linux Community

Попробовал в качестве эксперимента снести базу mysql и создать её с 
нуля, такую, какая сразу после установки.

# service mysqld stop
Stopping mysqld service: [ DONE ]
# cd /var/lib/mysql
# cp -Rl db db-
# rm -Rf db/*
# /usr/sbin/mysql_install_db
Preparing db table
Preparing host table
Preparing user table
Preparing func table
Preparing tables_priv table
Preparing columns_priv table
Installing all prepared tables
ERROR: 1049  Unknown database 'mysql'
050929 14:56:41 Aborting

050929 14:56:41 /usr/sbin/mysqld: Shutdown Complete

Installation of grant tables failed!

Examine the logs in /var/lib/mysql/log for more information.
You can also try to start the mysqld daemon with:
/usr/sbin/mysqld --skip-grant &
You can use the command line tool
/usr/bin/mysql to connect to the mysql
database and look at the grant tables:

shell> /usr/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/log 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 /usr/bin/mysqlbug script!
                 cat << END_OF_DATA
Please report any problems with the /usr/bin/mysqlbug script!
#

Т.е. ничего не создаёт а только ругается.
Что делать?



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-09-30  6:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-09-29 12:01 [Comm] Создание начальной таблицы mysql Olvin
2005-09-29 21:35 ` Yuriy_Gomenyuk
2005-09-30  2:13   ` Maxim.Savrilov
2005-09-30  6:20     ` Alexey Morsov

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git