ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Olvin <olvin@rambler.ru>
To: ALT Linux Community <community@altlinux.ru>
Subject: [Comm] Создание начальной таблицы mysql
Date: Thu, 29 Sep 2005 15:01:17 +0300
Message-ID: <433BD78D.9080402@rambler.ru> (raw)

Попробовал в качестве эксперимента снести базу 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!
#

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



             reply	other threads:[~2005-09-29 12:01 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-29 12:01 Olvin [this message]
2005-09-29 21:35 ` Yuriy_Gomenyuk
2005-09-30  2:13   ` Maxim.Savrilov
2005-09-30  6:20     ` Alexey Morsov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=433BD78D.9080402@rambler.ru \
    --to=olvin@rambler.ru \
    --cc=community@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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