解决方案 »
- 求人代做《数据库原理与技术》报酬50元
- 请教MySQL中如何判断某一天是当月的第几周啊?
- 大家来看看远程主机上的innodb参数设定,我想update数据,但是没有用。
- sql 性能比较,请教
- postgresql辅助功能time-travel的主要功能是什么?
- 表里面要同时存放简体中文,繁体中文,英文的情况下应该用什么编码比较好?
- 求mysql的一个sql语句!
- 在mysql中可以创建view,Diagrams,Roles,stored procedures吗?
- 在Linux上安了MySQL5.6,可是远程访问不了,怎么办?
- 请问?哪里有免费的php+mysql主页空间!!! 多谢!!!!
- mysql query broswer生成的数据库存在哪里了?
- mysql显示一个月的数据,没有数据的置为空
If you want to solve this at a later stage, restart this script
with the --force option试过吗
echo "127.0.0.1 localhost,localhost.localdomain" >> /etc/hosts
echo "your ip address localhost,localhost.locqaldomain" >> /etc/hosts
提示已经说的很清楚了
FATAL ERROR: Could not find ./bin/my_print_defaultsIf you compiled from source, you need to run 'make install' to
copy the software into the correct location ready for operation.If you are using a binary release, you must either be at the top
level of the extracted archive, or pass the --basedir option
pointing to that location.
根据提示,加入 basedir后,依然错误,如下:
******@ubuntu:~$ sudo /usr/local/mysql/scripts/mysql_install_db --user=mysql --basedir=/usr/local/mysql --datadir=/usr/local/mysql/data --force
/usr/local/mysql/scripts/mysql_install_db: 1: /usr/local/mysql/scripts/mysql_install_db: /usr/local/mysql/bin/my_print_defaults: not found
Installing MySQL system tables...
/usr/local/mysql/scripts/mysql_install_db: 403: /usr/local/mysql/scripts/mysql_install_db: /usr/local/mysql/bin/mysqld: not foundInstallation of system tables failed! Examine the logs in
/usr/local/mysql/data for more information.You can try to start the mysqld daemon with: shell> /usr/local/mysql/bin/mysqld --skip-grant &and use the command line tool /usr/local/mysql/bin/mysql
to connect to the mysql database and look at the grant tables: shell> /usr/local/mysql/bin/mysql -u root mysql
mysql> show tablesTry 'mysqld --help' if you have problems with paths. Using --log
gives you a log in /usr/local/mysql/data that may be helpful.Please consult the MySQL manual section
'Problems running mysql_install_db', and the manual section that
describes problems on your OS. Another information source are the
MySQL email archives available at http://lists.mysql.com/.Please check all of the above before submitting a bug report
at http://bugs.mysql.com/