Register for your free account! | Forgot your password?

You last visited: Today at 07:05

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



MySQL Problem.

Discussion on MySQL Problem. within the Metin2 Private Server forum part of the Metin2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jan 2013
Posts: 79
Received Thanks: 11
MySQL Problem.

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
raffio102 is offline  
Old 12/16/2013, 18:13   #2
 
theo1990's Avatar
 
elite*gold: 260
Join Date: Jul 2009
Posts: 1,123
Received Thanks: 180
Hier ist ein tut nach dem du deine mysql datenbank installieren kannst.

theo1990 is offline  
Old 12/16/2013, 19:33   #3
 
Coniesan's Avatar
 
elite*gold: 1000
Join Date: Mar 2009
Posts: 1,407
Received Thanks: 1,005
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 )
Coniesan is offline  
Old 12/16/2013, 19:52   #4
 
elite*gold: 0
Join Date: Nov 2013
Posts: 88
Received Thanks: 28
mysql_install_db braucht man meines wissens nach gar nicht. einfach wie conesian beachrieben hat 'nen user anlegen
nyzze. is offline  
Old 12/16/2013, 22:17   #5
 
.Markes's Avatar
 
elite*gold: 4
Join Date: Aug 2013
Posts: 77
Received Thanks: 55
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.
.Markes is offline  
Old 12/17/2013, 06:24   #6
 
elite*gold: 0
Join Date: Jan 2013
Posts: 79
Received Thanks: 11
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 
raffio102 is offline  
Old 12/17/2013, 06:35   #7
 
elite*gold: 0
Join Date: May 2010
Posts: 811
Received Thanks: 82
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
ЯéXíX is offline  
Old 12/17/2013, 06:38   #8
 
elite*gold: 0
Join Date: Jan 2013
Posts: 79
Received Thanks: 11
Habe ich alles gemacht. Bis auch die letzten 3 sachen... Gerade eingefügt jetzt schauen
raffio102 is offline  
Old 12/17/2013, 06:38   #9
 
elite*gold: 0
Join Date: May 2010
Posts: 811
Received Thanks: 82
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 
ЯéXíX is offline  
Old 12/17/2013, 06:41   #10
 
elite*gold: 0
Join Date: Jan 2013
Posts: 79
Received Thanks: 11
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 ^^
raffio102 is offline  
Old 12/17/2013, 06:43   #11
 
elite*gold: 0
Join Date: May 2010
Posts: 811
Received Thanks: 82
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
ЯéXíX is offline  
Old 12/17/2013, 06:46   #12
 
elite*gold: 0
Join Date: Jan 2013
Posts: 79
Received Thanks: 11
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
raffio102 is offline  
Old 12/17/2013, 14:29   #13
 
xNyor's Avatar
 
elite*gold: 0
Join Date: Sep 2012
Posts: 428
Received Thanks: 242
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.
xNyor is offline  
Reply


Similar Threads Similar Threads
[MYSQL]Mysql.sock problem.
06/15/2013 - Metin2 Private Server - 3 Replies
http://www.metin2dream.com/upload/images/sinttuvnv .jpg Solution?, i reinstall mysql, is dedicated
[PROBLEM]:[Root]:Mysql:[...]/tmp/mysql.sock
10/22/2011 - Metin2 Private Server - 3 Replies
Hallo Community habe jetzt seit ein Paar Tagen einen Fehler Namens: failed, retrying in 5 secondsmysql_real_connect: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) Screen: http://img809.imageshack.us/img809/9805/helpg.png
[PHP/Mysql] Connection Problem/ OR problem
08/19/2011 - Web Development - 6 Replies
Hey Epvpianer (:D) Ich habe mich entschlossen php zu lernen und bin jetzt bei dem Teil ->Mysql<- angekommen. Ich versuch jetzt eine Verbindung auf zu bauen und wenn es nicht klappt soll einer Fehler Meldung kommen. So sieht mein Code aus: <?php $verbindung = mysql_connect("localhost","Ecstasy_ x3","12345"); OR die ("Die Verbindung konnte nicht hergestellt werden"); mysql_select_db("links"); or die ("Falscher Datenbankname");
MySQL Problem
09/01/2010 - Metin2 Private Server - 1 Replies
Ich habe XAMMP für eine Homepage und für meinem GM brauche ich ja den port 3306 Jetz habe ich bei XAMMP die Mysql aktiviert (Port:3306) aber jetz brauche ich ja für NAvicat auch noch den Port das meine GM da drafu können wie soll ich das machen ?



All times are GMT +2. The time now is 07:05.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.