今天在GUN Taso Debian Linux下安装MySql 5.0.67时,运行命令./configure --prefix=/usr/local/mysql后,提示失败。错误代码如下:root@admingnu-desktop:/home/admingnu/文档/software/mysql-5.0.67-linux-i686# ./configure --prefix=/usr/local/mysql
NOTE: This is a MySQL binary distribution. It's ready to run, you don't
need to configure it!To help you a bit, I am now going to create the needed MySQL databases
and start the MySQL server for you. If you run into any trouble, please
consult the MySQL manual, that you can find in the Docs directory.Installing MySQL system tables...
100910 19:28:23 [Warning] option 'thread_stack': unsigned value 126976 adjusted to 131072
OK
Filling help tables...
100910 19:28:23 [Warning] option 'thread_stack': unsigned value 126976 adjusted to 131072
OKTo start mysqld at boot time you have to copy
support-files/mysql.server to the right place for your systemPLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
To do so, start the server, then issue the following commands:
./bin/mysqladmin -u root password 'new-password'
./bin/mysqladmin -u root -h admingnu-desktop password 'new-password'Alternatively you can run:
./bin/mysql_secure_installationwhich will also give you the option of removing the test
databases and anonymous user created by default. This is
strongly recommended for production servers.See the manual for more instructions.You can start the MySQL daemon with:
cd . ; ./bin/mysqld_safe &You can test the MySQL daemon with mysql-test-run.pl
cd mysql-test ; perl mysql-test-run.plPlease report any problems with the ./bin/mysqlbug script!The latest information about MySQL is available on the web at
http://www.mysql.com
Support MySQL by buying support/licenses at http://shop.mysql.com
Starting the mysqld server. You can test that it is up and running
with the command:
./bin/mysqladmin version
root@admingnu-desktop:/home/admingnu/文档/software/mysql-5.0.67-linux-i686# nohup: 重定向标准错误到标准输出
Starting mysqld daemon with databases from /home/admingnu/文档/software/mysql-5.0.67-linux-i686/data
STOPPING server from pid file /home/admingnu/文档/software/mysql-5.0.67-linux-i686/data/admingnu-desktop.pid
100910 19:28:23 mysqld ended之后运行make指令时,提示找不动目标,请问有哪位知道是什么地方动问题吗?还望大家不吝赐教。
NOTE: This is a MySQL binary distribution. It's ready to run, you don't
need to configure it!To help you a bit, I am now going to create the needed MySQL databases
and start the MySQL server for you. If you run into any trouble, please
consult the MySQL manual, that you can find in the Docs directory.Installing MySQL system tables...
100910 19:28:23 [Warning] option 'thread_stack': unsigned value 126976 adjusted to 131072
OK
Filling help tables...
100910 19:28:23 [Warning] option 'thread_stack': unsigned value 126976 adjusted to 131072
OKTo start mysqld at boot time you have to copy
support-files/mysql.server to the right place for your systemPLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
To do so, start the server, then issue the following commands:
./bin/mysqladmin -u root password 'new-password'
./bin/mysqladmin -u root -h admingnu-desktop password 'new-password'Alternatively you can run:
./bin/mysql_secure_installationwhich will also give you the option of removing the test
databases and anonymous user created by default. This is
strongly recommended for production servers.See the manual for more instructions.You can start the MySQL daemon with:
cd . ; ./bin/mysqld_safe &You can test the MySQL daemon with mysql-test-run.pl
cd mysql-test ; perl mysql-test-run.plPlease report any problems with the ./bin/mysqlbug script!The latest information about MySQL is available on the web at
http://www.mysql.com
Support MySQL by buying support/licenses at http://shop.mysql.com
Starting the mysqld server. You can test that it is up and running
with the command:
./bin/mysqladmin version
root@admingnu-desktop:/home/admingnu/文档/software/mysql-5.0.67-linux-i686# nohup: 重定向标准错误到标准输出
Starting mysqld daemon with databases from /home/admingnu/文档/software/mysql-5.0.67-linux-i686/data
STOPPING server from pid file /home/admingnu/文档/software/mysql-5.0.67-linux-i686/data/admingnu-desktop.pid
100910 19:28:23 mysqld ended之后运行make指令时,提示找不动目标,请问有哪位知道是什么地方动问题吗?还望大家不吝赐教。
解决方案 »
- VC通过ADO连接数据库!!蛋疼的问题!
- 这个mysql查询语句用什么方式最合适?
- 创建存储过程出错 Undeclared variable:t
- 解析字符串问题,100100000101011111010101解析出111
- mysql在查询分析器怎样获得错误码?
- 两个表关联怎么得到其中一个表的记录总数?
- 请高人指点:Warning: mysql_connect(): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
- 怎样用文本方式将数据加入一个数据库表中
- 紧急求解!关于mysql的嵌套查询,在线等
- mysql 5.7 对于NULL值的判断 is null 与 is not null 有什么区别?请大神赐教
- MySQL 外网连接问题请教
- MySQL 存储过程相关问题
学点东西不容易,最怕进错门的。
首先看看第一句提示NOTE: This is a MySQL binary distribution. It's ready to run, you don't
need to configure it!
-------------------
你这是已经编译好了二进制免安装版 直接初始化数据库 就可以使用了!你现在要做的是 用root在这个目录下做如下操作
#cp support-files/mysql.server /etc/init.d/mysql
#./bin/mysqladmin -u root password '你管理mysql的密码'
#/etc/init.d/mysql restart
#cp support-files/mysql.server /etc/init.d/mysql
#/etc/init.d/mysql restart
#./bin/mysqladmin -u root password '你管理mysql的密码'
现在mysql的启动脚本已经复制到/etc/init.d/mysql了
你可以用update-rc.d mysql defaults命令把mysql添加到开机启动
好像还是有问题,运行第二条指令时,报错:
root@admingnu-desktop:/home/admingnu/文档/software/mysql-5.0.67-linux-i686# ./bin/mysqladmin -u root password 'root'
./bin/mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)'
Check that mysqld is running and that the socket: '/tmp/mysql.sock' exists!
100910 19:28:23 [Warning] option 'thread_stack': unsigned value 126976 adjusted to 131072
OK
Filling help tables...
100910 19:28:23 [Warning] option 'thread_stack': unsigned value 126976 adjusted to 131072
OK感觉应该是这里有问题