PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : mySQL-Installation



adi99
05.12.04, 13:59
Hallo zusammen,
Ich bin ein ziemlicher Linuxnewbie...
Ich habe zuerst einmal Apache komplimiert, das ging auch. Als ich jedoch nun mySQL komplimieren (./configure..) machen wollte kam ein fehler

linux:/opt/lamp/src/mysql-standard-4.1.7-pc-linux-i686 # ./configure --prefix=/opt/lamp/mysql/4.1.7 --localstatedir=/var/mysql/data
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
041205 14:59:15 [Warning] Asked for 196608 thread stack, but got 126976
Fill help tables
041205 14:59:15 [Warning] Asked for 196608 thread stack, but got 126976

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 linux 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
linux:/opt/lamp/src/mysql-standard-4.1.7-pc-linux-i686 # Starting mysqld daemon with databases from /opt/lamp/src/mysql-standard-4.1.7-pc-linux-i686/data
STOPPING server from pid file /opt/lamp/src/mysql-standard-4.1.7-pc-linux-i686/data/linux.pid
041205 14:59:15 mysqld ended



linux:/opt/lamp/src/mysql-standard-4.1.7-pc-linux-i686 # ./bin/mysqlbug
Finding system information for a MySQL bug report
test -x
Could not find a text editor. (tried emacs)
You can change editor by setting the environment variable VISUAL.
If your shell is a bourne shell (sh) do
VISUAL=your_editors_name; export VISUAL
If your shell is a C shell (csh) do
setenv VISUAL your_editors_name


Was mache ich falsch?
Ich benutze SUSE Linux 9.1 Personal

Herzlichen Dank
adi99

Tomek
05.12.04, 14:00
Wieso installierst du nicht einfach MySQL per YaST?

EDIT: Ach du hast ja die kastrierte SuSE-Version.

adi99
05.12.04, 14:06
Weil ich es anders können möchte :cool:

Roger Wilco
05.12.04, 17:55
NOTE: This is a MySQL binary distribution. It's ready to run, you don't
need to configure it!
Was genau verstehst du an dem Satz nicht?

EDIT: Ach und es heißt kompilieren und nicht komplimieren ;)

marce
05.12.04, 17:56
was hast Du denn Dir runtergeladen?

weil


NOTE: This is a MySQL binary distribution. It's ready to run, you don't
need to configure it!


sagt, dass da eigentlich nach dem entpacken nicht mehr viel zu tun ist...

marce
05.12.04, 17:56
Mist, zu langsam ;-)

adi99
06.12.04, 11:44
Oh, das ist mir jetzt aber peinlich...

Ich habe nichts studiert und einfach die oberste Datei genommen bei der Linux stand ... :rolleyes:

Sry

@Roger Wilco: Danke; Sagte doch das ich Anfänger bin :cool:

Danke