MySQL Problem.

12/16/2013 17:46 raffio102#1
Guten Abend.

Es geht darum wenn ich beim Root Server MySQL installieren will und nun das eingebe

PHP Code:
/usr/local/bin/mysql_install_db 
Kommt folgendes! :

PHP Code:
FATAL ERRORCould not find ./bin/my_print_defaults

If you compiled from sourceyou need to run 'make install' to
copy the software into the correct location ready 
for operation.

If 
you are using a binary releaseyou must either be at the top
level of the extracted archive
, or pass the --basedir option
pointing to that location

Bitte um hilfe ist sehr dringend ! Danke
12/16/2013 18:13 theo1990#2
Hier ist ein tut nach dem du deine mysql datenbank installieren kannst.

[Only registered and activated users can see links. Click Here To Register...]
12/16/2013 19:33 Coniesan#3
Einfach mit
Code:
service mysql-server start
das Ding starten (die Daten werden beim 1. Mal generiert, ohne mysql_install_db)
Einen User anlegen usw sollte auch kein Problem sein
Code:
grant all privileges on *.* to 'user'@'host' identified by 'password';
(google hilft ;))
12/16/2013 19:52 nyzze.#4
mysql_install_db braucht man meines wissens nach gar nicht. einfach wie conesian beachrieben hat 'nen user anlegen
12/16/2013 22:17 .Markes#5
Das mysql_install_db muss man bei den älteren version zusätzlich installieren (z.B 5.0) , ab den hoheren versionen benötigt man es nicht mehr.
12/17/2013 06:24 raffio102#6
MySQL ist alles installiert etc.
Wenn ich MySQL jetzt mit dem befehl
PHP Code:
service mysql-server start 
Starte und dann schaue ob er gestartet ist mit
PHP Code:
service mysql-server status 
Steht dort
PHP Code:
mysql is not running 
Hmm... Ich blicke da wirklich nicht mehr durch. Alles wurde richtig installiert.
Ich benutze FreeBSD 9.0 und die MySQL56...

EDIT: Hier was noch in root.eer steht
PHP Code:
2013-12-17 05:34:52 2461 [NoteInnoDBCompleted initialization of buffer pool
2013
-12-17 05:34:52 2461 [NoteInnoDBHighest supported file format is Barracuda.
2013-12-17 05:34:52 2461 [NoteInnoDBLog scan progressed past the checkpoint lsn 1640055
2013
-12-17 05:34:52 2461 [NoteInnoDBDatabase was not shutdown normally!
2013-12-17 05:34:52 2461 [NoteInnoDBStarting crash recovery.
2013-12-17 05:34:52 2461 [NoteInnoDBReading tablespace information from the .ibd files...
2013-12-17 05:34:52 2461 [NoteInnoDBRestoring possible half-written data pages 
2013
-12-17 05:34:52 2461 [NoteInnoDBfrom the doublewrite buffer...
InnoDBDoing recoveryscanned up to log sequence number 1663881
131217 05
:34:52 mysqld_safe mysqld restarted
2013
-12-17 05:34:52 2461 [NoteInnoDB128 rollback segment(sare active.
2013-12-17 05:34:52 2461 [NoteInnoDBWaiting for purge to start
2013
-12-17 05:34:53 2461 [NoteInnoDB5.6.14 startedlog sequence number 1663881
Warning
World-writable config file './auto.cnf' is ignored
2013
-12-17 05:34:53 2461 [WarningNo existing UUID has been foundso we assume that this is the first time that this server has been startedGenerating a new UUID92a44802-66d4-11e3-a166-0015ab70b716.
2013-12-17 05:34:53 2461 [NoteServer hostname (bind-address): '*'port3306
2013
-12-17 05:34:53 2461 [NoteIPv6 is available.
2013-12-17 05:34:53 2461 [Note]   - '::' resolves to '::';
2013-12-17 05:34:53 2461 [NoteServer socket created on IP'::'.
04:34:53 UTC mysqld got signal 11 ;
This could be because you hit a bugIt is also possible that this binary
or one of the libraries it was linked against is corruptimproperly built,
or 
misconfiguredThis error can also be caused by malfunctioning hardware.
We will try our best to scrape up some info that will hopefully help
diagnose the problem
but since we have already crashed
something is definitely wrong and this may fail.

key_buffer_size=8388608
read_buffer_size
=131072
max_used_connections
=0
max_threads
=151
thread_count
=0
connection_count
=0
It is possible that mysqld could 
use up to 
key_buffer_size 
+ (read_buffer_size sort_buffer_size)*max_threads 68186 K  bytes of memory
Hope that
's ok; if not, decrease some variables in the equation.

131217 05:34:53 mysqld_safe mysqld restarted 
12/17/2013 06:35 ЯéXíX#7
Momomentmal - Möchtest du lediglich MySQL Installieren oder hast du berreits eine Datenbank hochgelanden ? Übrigens, Mysql Installiert man wie folgt :

Zuerst Ports Installieren :

PHP Code:
 portsnap fetch extract 
Wenn die fertig sind, Installierst du SO MySQL :

PHP Code:
cd /usr/ports/databases/mysql55-server 
PHP Code:
make WITH_XCHARSET=all install clean 
Danach fügst du in die Configs noch ein, das MySQL mit nem Autostart gesegnet ist :)

PHP Code:
ee /etc/rc.conf 
Dann 3 neue Zeilen mit folgenden Befehlen einfügen :

PHP Code:
mysql_enable="YES" 
PHP Code:
fsck_y_enable="YES" 
PHP Code:
background_fsck="NO" 
So, Nun 1x ESC und 2x ENTER Und du hast dein geliebtes MYSQL :)
12/17/2013 06:38 raffio102#8
Habe ich alles gemacht. Bis auch die letzten 3 sachen... Gerade eingefügt jetzt schauen
12/17/2013 06:38 ЯéXíX#9
PS : Du brauchst auch die jeweiligen USER und eine DB Damit MYSQL Läuft. Installiers mal so wie ich es gesagt habe, vorher aber deinstallieren mit :

PHP Code:
cd /usr/ports/databases/mysql55-server 
PHP Code:
make WITH_XCHARSET=all deinstall clean 
oder

PHP Code:
make deinstall 
12/17/2013 06:41 raffio102#10
Die DB ist ja schon installiert.... Konnte vorher noch connecten etc. Homepage ging bis dahin auch noch... Habe nur 1 Reboot gemacht jz geht garnix mehr ^^
12/17/2013 06:43 ЯéXíX#11
Ja, du hast die Auto-Configs vergessen. Deinstalliers und machs wie ich es geschrieben habe, genauso wie die DB hoffentlich muss ich dir das nicht auchnoch erklären :)
12/17/2013 06:46 raffio102#12
Nö das musst mir net erklären bin gerade dabei ^^ hoffe dann mall es geht... Serverfiles etc. alles fertig muss nurnoch auf root... Beta startet ja morgen :,D
12/17/2013 14:29 xNyor#13
Mh, wenn du immer noch nicht klar kommst Adde mich einfach in Skype
and ich mache es dir per TV wenn du das möchtest,

Mfg, Pascal.