Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Metin2 > Metin2 Private Server
You last visited: Today at 10:37

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

Advertisement



MySQL-Installation Error-Code 1

Discussion on MySQL-Installation Error-Code 1 within the Metin2 Private Server forum part of the Metin2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jun 2010
Posts: 93
Received Thanks: 6
MySQL-Installation Error-Code 1

Hallo zusammen,

beim verfolgen diesen TuT´s ist mir bei Step 3 ein Fehler aufgetreten.

Code:
204243# cd /usr/ports/databases/mysql50-server/
204243# make install WITH_XCHARSET=all clean
===>  Installing for mysql-server-5.0.91
===>   mysql-server-5.0.91 depends on shared library: mysqlclient.15 - found
===>   Generating temporary packing list
===>  Checking if databases/mysql50-server already installed
===>   mysql-server-5.0.91 is already installed
      You may wish to ``make deinstall'' and install this port again
      by ``make reinstall'' to upgrade it properly.
      If you really wish to overwrite the old port of databases/mysql50-server
      without deleting it first, set the variable "FORCE_PKG_REGISTER"
      in your environment or the "make install" command line.
*** Error code 1

Stop in /usr/ports/databases/mysql50-server.
204243#
Step 3 besagt Installation & Einrichten von MySql, bei Step 3 Abschnitt 2 [make install WITH_XCHARSET=all clean] erscheint der oben eingefügte Fehler.

Habe die Suchfunktion benutzt, ebenso auch bei Google rum gestöbert. Aber leider noch nichts gefunden, falls mir jemand weiterhelfen kann würde ich mich sehr freuen.

Danke im voraus.

Gruß,
iOS Apple is offline  
Thanks
1 User
Old 01/16/2011, 13:29   #2


 
.Marcel''s Avatar
 
elite*gold: 100
Join Date: Sep 2009
Posts: 8,136
Received Thanks: 2,760
Quote:
Originally Posted by Nexxalo View Post
Hallo zusammen,

beim verfolgen diesen TuT´s ist mir bei Step 3 ein Fehler aufgetreten.

Code:
204243# cd /usr/ports/databases/mysql50-server/
204243# make install WITH_XCHARSET=all clean
===>  Installing for mysql-server-5.0.91
===>   mysql-server-5.0.91 depends on shared library: mysqlclient.15 - found
===>   Generating temporary packing list
===>  Checking if databases/mysql50-server already installed
===>   mysql-server-5.0.91[COLOR="Red"] is already installed[/COLOR]
      You may wish to ``make deinstall'' and install this port again
      by ``make reinstall'' to upgrade it properly.
      If you really wish to overwrite the old port of databases/mysql50-server
      without deleting it first, set the variable "FORCE_PKG_REGISTER"
      in your environment or the "make install" command line.
*** Error code 1

Stop in /usr/ports/databases/mysql50-server.
204243#
Step 3 besagt Installation & Einrichten von MySql, bei Step 3 Abschnitt 2 [make install WITH_XCHARSET=all clean] erscheint der oben eingefügte Fehler.

Habe die Suchfunktion benutzt, ebenso auch bei Google rum gestöbert. Aber leider noch nichts gefunden, falls mir jemand weiterhelfen kann würde ich mich sehr freuen.

Danke im voraus.

Gruß,

Wen man englisch kan, sieht man den fehler direkt.
Du hast bereits mysql installiert.

Wen du es neuinstallieren willst musst du davor : pkg-delete x-mysql eingeben
und dan installieren
.Marcel' is offline  
Thanks
1 User
Old 01/16/2011, 13:33   #3
 
elite*gold: 0
Join Date: Jun 2010
Posts: 93
Received Thanks: 6
Hmm... Okay ich habe glaube davor geschlafen -.-
Naja ich deinstalliere das dann erstmal und reinstall das dann.

Danke

Edit: habe das jetzt mal so eingegeben

Code:
204243# cd /usr/ports/databases/mysql50-server/
204243# pkg-delete x-mysql
pkg-delete: Command not found.

Sieht natürlich falsch aus kannst du mir auch sagen wie ich das eingeben muss?

Edit2: Habs jetzt selber raus bekommen ^^

Edit3:Nächster Fehler -.-
Code:
204243# chown -R mysql /var/db/mysql/
204243# chgrp -R mysql /var/db/mysql/
204243# /usr/local/bin/mysqld_safe -user=mysql &
[1] 18208
204243# Starting mysqld daemon with databases from /var/db/mysql
STOPPING server from pid file /var/db/mysql/204243.*******.com.pid
110116 12:43:17  mysqld ended


[1]    Done                          /usr/local/bin/mysqld_safe -user=mysql
204243# /usr/local/bin/mysqladmin -u root password *******
/usr/local/bin/mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)'
Check that mysqld is running and that the socket: '/tmp/mysql.sock' exists!
bin jetzt ein paar schritte weiter und dann kommt das... -.-
iOS Apple is offline  
Old 01/16/2011, 13:47   #4
 
.ZiPPO's Avatar
 
elite*gold: 0
Join Date: May 2009
Posts: 2,329
Received Thanks: 637
hey habe das gleiche prob -.-
.ZiPPO is offline  
Old 01/16/2011, 13:50   #5
 
elite*gold: 0
Join Date: Jun 2010
Posts: 93
Received Thanks: 6
habe 1. zu 1. das TuT befolgt... eigentlich sollte alles richtig sein...
Bei Edit3: ..., ist das der Schritt wo ich gerade hängen bleibe -.-
iOS Apple is offline  
Old 01/16/2011, 13:51   #6
 
.ZiPPO's Avatar
 
elite*gold: 0
Join Date: May 2009
Posts: 2,329
Received Thanks: 637
jo genau so gehts mir auch ;(
.ZiPPO is offline  
Old 01/16/2011, 14:11   #7
 
elite*gold: 0
Join Date: Jun 2010
Posts: 93
Received Thanks: 6
Das ist das letzte Fehler bzw. das aktuellste

Code:
204243# /usr/local/bin/mysqladmin -u root password ******
/usr/local/bin/mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)'
Check that mysqld is running and that the socket: '/tmp/mysql.sock' exists!
Wie behebe ich diesen Fehler... Also entnehmen kann ich das er sich nicht mit dem MySQL-Server verbinden kann, aber beheben kann ich das gerade auch nicht. Kann mir jemand vielleicht helfen...

Danke im voraus
iOS Apple is offline  
Old 01/16/2011, 14:51   #8

 
iKyroja :>'s Avatar
 
elite*gold: 20
Join Date: May 2010
Posts: 2,792
Received Thanks: 1,988
hast du:
204243# cd /usr/ports/databases/mysql50-server/
204243# make install WITH_XCHARSET=all clean
und danach:
204243# make
iKyroja :> is offline  
Thanks
1 User
Old 01/16/2011, 15:09   #9
 
elite*gold: 0
Join Date: Jun 2010
Posts: 93
Received Thanks: 6
Quote:
Originally Posted by iKyroja :> View Post
hast du:
204243# cd /usr/ports/databases/mysql50-server/
204243# make install WITH_XCHARSET=all clean
und danach:
204243# make
habe ich gemacht, trotzdem immer noch der gleiche fehler wenn ich das Password setzen möchte.
iOS Apple is offline  
Old 01/16/2011, 15:20   #10

 
iKyroja :>'s Avatar
 
elite*gold: 20
Join Date: May 2010
Posts: 2,792
Received Thanks: 1,988
PHP Code:
mysql -uroot -p
-----------------
Beim password einfach [Enter]
-----------------
grant all on *.* to root@"%" identified by "PASSWORT";  
-----------------
exit; 
iKyroja :> is offline  
Thanks
2 Users
Old 01/16/2011, 16:42   #11
 
elite*gold: 0
Join Date: Jun 2010
Posts: 93
Received Thanks: 6
Erledigt...
Danke an iKyroja :>
iOS Apple is offline  
Reply


Similar Threads Similar Threads
Mysql installation
01/14/2011 - Metin2 Private Server - 13 Replies
ich weiß nicht wieso,bei meinen andren Roots hatte es immer geklappt, aber dieser will nicht, ich hab FreeBSD 7.2 (32bit) drauf 1.Ports aktuallisiert und dann bei Mysql erfolgreich diese befehle ausgeführt cd /usr/ports/databases/mysql50-server/ make install WITH_XCHARSET=all clean
frage zur mysql installation
01/04/2011 - Metin2 Private Server - 0 Replies
wollte aufm root nachdem ich ports aktualiesiert hab mysql50 installieren da bekomm ich ne error anzeige geht auch mysql55 oder giebt es da später eventuell probleme
[ERROR] Mysql can't connect to local Mysql server through socket
11/06/2010 - Metin2 Private Server - 5 Replies
I just recently tried to configure a DNS server for MT2.. It came up with this error ERROR: 2002 (HY000): Can't connect to local Mysql server through socket '/tmp/mysql.sock' (2) Do I need to do a fresh installation of FBSD? :S Thanks.
[Fehler]Installation von Mysql ;>
05/09/2010 - Metin2 Private Server - 18 Replies
Dark hat mir geholfen ;3
Diese Fehlermeldung (freebsd) bei mysql installation??? (mit bild)
05/01/2010 - Metin2 Private Server - 1 Replies
Closed please hat sich geklärt!!!!



All times are GMT +2. The time now is 10:37.


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.