- 论坛徽章:
- 0
|
我通过X windows的添加删除程序取消了SQLserver的选项并更新后. 通过rpm方式安装了4.0.24的mysql 启动不了, 启动日志里面显示
Can't start server: Bind on TCP/IP port: Address already in use
Do you already have another mysqld server running on port: 3306 ?
端口被占用! 有什么办法呢?
问题2: rpm方式安装MYSQL /var/lib目录下有MYSQL的数据库目录. 程序目录在哪里呢? usr/local下没有mysql目录. 安装php的时候 --with mysql= XXXX 这里就不知道添什么了!
通国tar包安装确出现
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 all prepared tables
050405 17:00:11 ./bin/mysqld: Shutdown Complete
To start mysqld at boot time you have to copy support-files/mysql.server
to the right place for your system
PLEASE 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 localhost.localdomain password 'new-password'
See the manual for more instructions.
NOTE: If you are upgrading from a MySQL <= 3.22.10 you should run
the ./bin/mysql_fix_privilege_tables. Otherwise you will not be
able to use the new GRANT command!
You can start the MySQL daemon with:
cd . ; ./bin/mysqld_safe &
You can test the MySQL daemon with the benchmarks in the 'sql-bench' directory:
cd sql-bench ; perl run-all-tests
Please 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 https://order.mysql.com
Starting the mysqld server. You can test that it is up and running
with the command:
./bin/mysqladmin version
[root@localhost mysql4]# Starting mysqld daemon with databases from /root/tools/mysql4/data
STOPPING server from pid file /root/tools/mysql4/data/localhost.localdomain.pid
050405 17:00:11 mysqld ended
这些 搞晕了我 |
|