- 论坛徽章:
- 0
|
[root@Johnite mysql-3.22.32-pc-linux-gnu-i686]# ./configure --prefix=/web/mysql
WARNING: Your libc libraries are not 100 % compatible with this MySQL version
mysqld should work normally with the exception that host name resolving
will not work. This means that you should use IP addresses instead
of hostnames when specifying MySQL privileges !
Creating db table
Creating host table
Creating user table
Creating func table
Creating tables_priv table
Creating columns_priv table
./scripts/mysql_install_db: line 317: 3015 段错误 $execdir/mysqld --bootstrap --skip-grant-tables --basedir=. --datadir=$ldata "$@" <<END_OF_DATA
use mysql;
$c_d
$i_d
$c_h
$i_h
$c_u
$i_u
$c_f
$i_f
$c_t
$c_c
END_OF_DATA
Installation of grant tables failed!
Examine the logs in /var/lib/mysql for more information.
You can also try to start the mysqld demon with:
./bin/mysqld --skip-grant &
You can 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!
[root@Johnite mysql-3.22.32-pc-linux-gnu-i686]# MYSQL_UNIX_PORT=/tmp/mysqld-new.sock
[root@Johnite mysql-3.22.32-pc-linux-gnu-i686]# MYSQL_TCP_PORT-3307
bash: MYSQL_TCP_PORT-3307: command not found
[root@Johnite mysql-3.22.32-pc-linux-gnu-i686]# MYSQL_TCP_PORT=3307
[root@Johnite mysql-3.22.32-pc-linux-gnu-i686]# export MYSQL_UNIX_PORT MYSQL_TCP_PROT
[root@Johnite mysql-3.22.32-pc-linux-gnu-i686]# scripts/mysql_install_db
WARNING: Your libc libraries are not 100 % compatible with this MySQL version
mysqld should work normally with the exception that host name resolving
will not work. This means that you should use IP addresses instead
of hostnames when specifying MySQL privileges !
Creating db table
Creating host table
Creating user table
Creating func table
Creating tables_priv table
Creating columns_priv table
scripts/mysql_install_db: line 317: 3111 段错误 $execdir/mysqld --bootstrap --skip-grant-tables --basedir=. --datadir=$ldata "$@" <<END_OF_DATA
use mysql;
$c_d
$i_d
$c_h
$i_h
$c_u
$i_u
$c_f
$i_f
$c_t
$c_c
END_OF_DATA
Installation of grant tables failed!
Examine the logs in /var/lib/mysql for more information.
You can also try to start the mysqld demon with:
./bin/mysqld --skip-grant &
You can 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! |
|