Register for your free account! | Forgot your password?

You last visited: Today at 02:18

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

Advertisement



Problem mit MySQL...

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

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Oct 2014
Posts: 105
Received Thanks: 8
Problem mit MySQL...

Moin, ich habe ein kleines Problem mit dem so sehr beliebtem MySQL...
Undzwar folgendes.

Sofern ich über Putty bzw. SSH, das Passwort, was in den Configs steht eintragen will, damit mich beim Serverstart kein Fehler begrüßt, so kommt ein Error.

Folgendes gebe ich ein:

Code:
mysql
Folgendes bekomme ich gesagt:

Code:

ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
Einen Benuter kann ich auch nicht anlegen, sonst könnte ich's über mysql -p versuchen. Was wie ich denke eh nicht klappt, wenn das schon nicht geht.
F*CKING_KILLER is offline  
Old 11/16/2014, 03:59   #2
 
elite*gold: 0
Join Date: Jan 2014
Posts: 268
Received Thanks: 373
Der Fehler bedeutet, dass dein MySQL nicht gestartet ist. Du kannst mal versuchen es manuell zu starten:
/usr/local/etc/rc.d/mysql-server start
und ansonsten den Fehler rausgeben der dann kommt.

Kind Regards
Lefloyd is offline  
Old 11/16/2014, 11:15   #3
 
#0x4b696464's Avatar
 
elite*gold: 0
Join Date: Sep 2014
Posts: 35
Received Thanks: 7
In Putty:

PHP Code:
ee /etc/rc.conf 
dann

PHP Code:
mysql_enable="YES" 
eintragen und rebooten, dann müsste dein Mysql Server mitstarten, wenn nicht Mysql Server neu installieren:

PHP Code:
cd /usr/ports/databases/mysql56-server && make deinstall clean 
in /var/db den mysql Ordner löschen, dann folgendes

PHP Code:
cd /usr/ports/databases/mysql56-server && make install clean 
MFG
KIDD
#0x4b696464 is offline  
Old 11/16/2014, 12:31   #4
 
elite*gold: 0
Join Date: Oct 2014
Posts: 105
Received Thanks: 8
Quote:
Originally Posted by #0x4b696464 View Post
In Putty:

PHP Code:
ee /etc/rc.conf 
dann

PHP Code:
mysql_enable="YES" 
eintragen und rebooten, dann müsste dein Mysql Server mitstarten, wenn nicht Mysql Server neu installieren:

PHP Code:
cd /usr/ports/databases/mysql56-server && make deinstall clean 
in /var/db den mysql Ordner löschen, dann folgendes

PHP Code:
cd /usr/ports/databases/mysql56-server && make install clean 
MFG
KIDD
Alles schon gemacht, blöd bin ich ja nicht x.x
F*CKING_KILLER is offline  
Old 11/16/2014, 12:46   #5
 
Yiv's Avatar
 
elite*gold: 47
Join Date: Feb 2012
Posts: 2,282
Received Thanks: 2,579
Wie bereits gesagt, bedeutet das, dass der MySQL Service nicht gestartet ist. Zuerst solltest du versuchen diesen über "service mysql-server start" zu starten, wenn das nicht funktioniert, solltest du gucken, was die *.err-Datei (für * deinen Hostname einsetzen) aussagt (liegt in /var/db/mysql).

MfG
Yiv is offline  
Old 11/16/2014, 12:53   #6
 
elite*gold: 0
Join Date: Oct 2014
Posts: 105
Received Thanks: 8
Jo, habe den Root mal neu aufgesetzt.
Versuche nun Mysql 5.6 auf FreeBSD 10 zu installieren x.x
Ich editiert's dann rein.

Wenn ich mich in Navicat einloggen will:



Wenn ich mich in Putty mit mysql -p einloggen will:

Code:
 

ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
Mysql ist gestartet & in der rc.conf eingetragen
Wenn ich den Server starten will kommt folgendes:

Code:
mysql_real_connect: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
cannot open direct sql connection to host: localhost user: mt2 db: common
cannot start server while no common sql connected
Die .err Datei sagt:

Code:
141116 14:18:56 mysqld_safe mysqld restarted
2014-11-16 14:18:56 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2014-11-16 14:18:56 5374 [Note] Plugin 'FEDERATED' is disabled.
2014-11-16 14:18:56 5374 [Note] InnoDB: Using atomics to ref count buffer pool pages
2014-11-16 14:18:56 5374 [Note] InnoDB: The InnoDB memory heap is disabled
2014-11-16 14:18:56 5374 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2014-11-16 14:18:56 5374 [Note] InnoDB: Memory barrier is not used
2014-11-16 14:18:56 5374 [Note] InnoDB: Compressed tables use zlib 1.2.3
2014-11-16 14:18:56 5374 [Note] InnoDB: Using CPU crc32 instructions
2014-11-16 14:18:56 5374 [Note] InnoDB: Initializing buffer pool, size = 128.0M
2014-11-16 14:18:56 5374 [Note] InnoDB: Completed initialization of buffer pool
2014-11-16 14:18:56 5374 [Note] InnoDB: Highest supported file format is Barracuda.
2014-11-16 14:18:56 5374 [Note] InnoDB: Log scan progressed past the checkpoint lsn 1589260
2014-11-16 14:18:56 5374 [Note] InnoDB: Database was not shutdown normally!
2014-11-16 14:18:56 5374 [Note] InnoDB: Starting crash recovery.
2014-11-16 14:18:56 5374 [Note] InnoDB: Reading tablespace information from the .ibd files...
2014-11-16 14:18:56 5374 [Note] InnoDB: Restoring possible half-written data pages 
2014-11-16 14:18:56 5374 [Note] InnoDB: from the doublewrite buffer...
InnoDB: Doing recovery: scanned up to log sequence number 1593653
2014-11-16 14:18:56 5374 [Note] InnoDB: Starting an apply batch of log records to the database...
InnoDB: Progress in percent: 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 
InnoDB: Apply batch completed
2014-11-16 14:18:57 5374 [Note] InnoDB: 128 rollback segment(s) are active.
2014-11-16 14:18:57 5374 [Note] InnoDB: Waiting for purge to start
2014-11-16 14:18:57 5374 [Note] InnoDB: 5.6.21 started; log sequence number 1593653
2014-11-16 14:18:57 5374 [Note] Server hostname (bind-address): '*'; port: 3306
2014-11-16 14:18:57 5374 [Note] IPv6 is available.
2014-11-16 14:18:57 5374 [Note]   - '::' resolves to '::';
2014-11-16 14:18:57 5374 [Note] Server socket created on IP: '::'.
13:18:57 UTC - mysqld got signal 11 ;
[B]This could be because you hit a bug. It is also possible that this binary
or one of the libraries it was linked against is corrupt, improperly built,
or misconfigured. This 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.[/B]

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 = 68194 K  bytes of memory
Hope that's ok; if not, decrease some variables in the equation.

141116 14:18:57 mysqld_safe mysqld restarted

Kann es eventuell an den Libs liegen?!
Sehet: "This could be because you hit a bug. It is also possible that this binary
or one of the libraries it was linked against is corrupt, improperly built,
or misconfigured."
F*CKING_KILLER is offline  
Old 11/16/2014, 14:36   #7
 
mailo110's Avatar
 
elite*gold: 0
Join Date: Mar 2011
Posts: 21
Received Thanks: 12
Hab dasselbe Problem.

Wäre echt toll, wenn hier jemand weiterhelfen kann!
mailo110 is offline  
Old 11/16/2014, 16:05   #8
 
elite*gold: 0
Join Date: Feb 2014
Posts: 19
Received Thanks: 7
hey falls das problem weiterhin besteht adde mich.

Skype: akashi1441
SilverLike93 is offline  
Old 11/16/2014, 17:40   #9
 
Zaturix's Avatar
 
elite*gold: 0
Join Date: Oct 2014
Posts: 408
Received Thanks: 208
deinstallier mal Mysql und installier nur 5.5

reboote und starte so:

PHP Code:
service mysql-server start 
Zaturix is offline  
Old 11/16/2014, 19:53   #10
 
elite*gold: 0
Join Date: Oct 2014
Posts: 105
Received Thanks: 8
Quote:
Originally Posted by ʂαιɳƚʂ View Post
deinstallier mal Mysql und installier nur 5.5

reboote und starte so:

PHP Code:
service mysql-server start 
Hättest du alles gelesen, hättest du dir die Antwort sparen können.
F*CKING_KILLER is offline  
Old 11/16/2014, 20:43   #11
 
nostradame37's Avatar
 
elite*gold: 0
Join Date: Jan 2011
Posts: 2,504
Received Thanks: 870
Du hast warscheinlich deinen mysql ordner geladen und den schon vorhandenen geloescht?

du soltest deine datenbank in den erstelten mysql ordner einfuegen und dan dich wider hier melden obs geklappt hat.
nostradame37 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
MySQL Problem
03/17/2012 - Metin2 Private Server - 6 Replies
Hallo Liebe Leute ich wollte gerade MySQL auf meinen Homeroot installieren da bekam ich diesen Fehler. Als ich diesen Befehl eingab :/usr/local/bin/mysqld_safe –user=mysql & Dann Kam: http://www.bilder-hochladen.net/files/thumbs/g2t8 -o-1ff1.png Könnt ihr mir helfen?
[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");



All times are GMT +1. The time now is 02:18.


Powered by vBulletin®
Copyright ©2000 - 2026, 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 ©2026 elitepvpers All Rights Reserved.