• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

[gelöst] Problem beim Installieren von Mysql

Devil Man

Newbie
Hallo,

Ich beschäftige mich erst seit einer Woche mit Linux.
Ich habe angefangen mir einen Webserver aufzusetzen. Ich habe Suse9.2 installiert. Apache2 funktioniert, PHP funktioniert. Nur Mysql bekomm ich einfach nicht installiert. Ich habe versucht das Paket von Suse zu installieren sowie die Binaries von mysql.com.
Wenn ich diese dekrompremiere und dann
Code:
groupadd mysql
useradd -g mysql mysql
./configure --user=mysql
eingebe kommt immer nur das hier:
Code:
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
Fill help tables

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:/home/devil/mysql-standard-5.0.18-linux-i686-glibc23 # Starting mysqld daemon with databases from /home/devil/mysql-standard-5.0.18-linux-i686-glibc23/data
STOPPING server from pid file /home/devil/mysql-standard-5.0.18-linux-i686-glibc23/data/linux.pid
060202 15:20:59  mysqld ended
Und das wars. Make funktioniert nicht.
Ich hab bereits verschiedene Mysql-Versionen probiert. Hab sämtliche Pakete, die mit mysql (scheinbar :? ) was zu tun haben per Yast installiert. Aber immer das gleiche Ergebnis. :x

Wahrscheinlich ist es ganz einfach und ich komm einfach nur nicht drauf. Ich google schon seid 3 Tagen, ohne Ergebnisse. Hoffentlich kann mir einer von euch helfen.

Das ganze läuft übrigens auf nem Pentium3 mit 256MB Ram.
 

beleg

Member
Wenn Du MySQL über Yast installierst, ist es im Ergebnis dann nicht installiert oder läuft es nicht? Hast Du es nach der Installation auch gestartet?
 
A

Anonymous

Gast
Du machst dir da unnötig Gedanken. Mysql mit Yast installieren, im Runleveleditor die nötigen Runlevel einstellen und myqsl starten, fertig.

Der User "mysql" mit der dazugehörigen Gruppe wird automatisch eingerichtet.

Das Einzige was du im produktiven Einsatz tun must ist, ein Passwort für den Zugang zu deiner Datenbank zu vergeben.
 
OP
D

Devil Man

Newbie
Ja. Da bin ich schonmal drüber gestolpert.
Geht leider auch nicht. Das Paket ist installiert. :?
Code:
linux:# /etc/ini.d/mysql start
-bash: /etc/ini.d/mysql: No such file or directory
 
OP
D

Devil Man

Newbie
LOOOOOOOOOL

Es war ein Tippfehler. :oops: :shock: :twisted: :roll: :shock:

/etc/init.d/mysql

Trotzdem Danke Leute!
 
Oben