PDA

View Full Version : Installing mysql problem


certify
Sat 4th Aug '01, 7:38am
This is the setep I'm stuck with.

./configure --prefix=/usr/local/mysql


[root@cheng mysql-3.23.40-pc-linux-gnu-i686]# ./configure --prefix=/usr/local/my
sql
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
010804 8:33:32 ./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 !
This is done with:
./bin/mysqladmin -u root -p password 'new-password'
./bin/mysqladmin -u root -h cheng.com -p 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/safe_mysqld &

You can test the MySQL daemon with the benchmarks in the 'sql-bench' directory:
cd sql-bench ; 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@cheng mysql-3.23.40-pc-linux-gnu-i686]# Starting mysqld daemon with databases from /usr/local/plesk/apache/vhosts/certifyexpress.com/httpdocs/mysql/mysql-3.23.40-pc-linux-gnu-i686/data
010804 08:33:32 mysqld ended

[root@cheng mysql-3.23.40-pc-linux-gnu-i686]# mysql
bash: mysql: command not found


Then I type the make command.


[root@cheng mysql-3.23.40-pc-linux-gnu-i686]# make
make: *** No targets specified and no makefile found. Stop.


What's wrong with it?

Dennis Wrenn
Sat 4th Aug '01, 8:22am
NOTE: This is a MySQL binary distribution. It's ready to run, you don't
need to configure it!


I don't think you need to use "make". If I remember correctly, that compiles it and you don't need it to be compiled.

certify
Sat 4th Aug '01, 8:30am
Thanks, I follow the instructions here. I'm a complete idiot with MySQL, so what to do next?

http://www.vbulletin.com/manual/mysql.html

When I type in any mysql command I keep getting the command not found. :confused:


[root@cheng mysql-3.23.40-pc-linux-gnu-i686]# mysql
bash: mysql: command not found
[root@cheng mysql-3.23.40-pc-linux-gnu-i686]#

eva2000
Sat 4th Aug '01, 11:20am
i think you downloaded the wrong version of mysql to install. From that install mysql page it says to download the 'tarball source download' version not the binary version as you did..

also Certify, please enter your customer #/password as well