[ROOT] RealMt2

01/30/2010 17:15 SuraKämpfer1#61
Vlt hilft das was... [Only registered and activated users can see links. Click Here To Register...]

Kein Plan, verstehe nur Bahnhof^^
01/30/2010 17:16 xDfr34kxD#62
is ja kla weil das die linux befehle sin un nich die für freebsd müst ma bei denen im forum gucken
01/30/2010 17:18 ExTrack#63
^^ Schlaues Kindchen :D

Machen ebend was anderes.....

Achja und gadom ist der ServerAdmin also [SA]SouL
01/30/2010 17:19 xDfr34kxD#64
hab da was[Only registered and activated users can see links. Click Here To Register...]

Quote:

If you forget the root password, here is how you can reset it.

Stop mysqld with this command:
Quote:
/usr/local/etc/rc.d/mysql-server.sh stop
WARNING: do not leave this option on for long. Only for when you need it. It by passes all usual mysql security.
Quote:
-Sg|--skip-grant-tables
This option causes the server not to use the privi-
lege system at all. This gives everyone full access
to all databases! (You can tell a running server to
start using the grant tables again by executing
mysqladmin flush-privileges or mysqladmin reload.)
Here is the line after I modified it in /usr/local/etc/rc.d/mysql-server.sh:
Quote:
/usr/local/bin/safe_mysqld --user=mysql --skip-grant-tables > /dev/null & && echo -n ' mysqld'
Connect to mysql
Quote:
mysql
Be cautious; this next step will reset the passwords for all root users. You may wish to restrict this SQL by including an "and host = 'something'" clause. Inspect existing users with the "SELECT host, user from user;".

Select the mysql database and reset the password.

This next step will reset the passwords for all root users. You may wish to restrict this SQL by including an "and host = 'something'" clause. Inspect existing users with the "SELECT host, user from user;".
Quote:
use mysql
update user set password = PASSWORD('secret') where user = 'root';
WARNING: Do not forget to undo that mysql bypass!

1. Stop mysql
2. Remove the option from the /usr/local/etc/rc.d/mysql-server.sh
3. Restart mysql: /usr/local/etc/rc.d/mysql-server.sh start
hab aber nur schnell geguckt weiß nich obs geht^^


Quote:
^^ Schlaues Kindchen
war das jz abwertent gemeint???
ich wolte nur helfen =(
01/30/2010 17:34 ExTrack#65
Sollte keine Beleidigung sein ;D
01/30/2010 17:35 ganndom#66
ne geht leider alles nicht..-.- . aber wir haben warscheinlich schon eine lösung gefunden.
01/30/2010 17:35 SuraKämpfer1#67
Aber Server wohl nicht mehr heute Abend online oder? :(
01/30/2010 17:39 ganndom#68
doch vllt. ihr habt noch ne chance :D
01/30/2010 17:39 xDfr34kxD#69
hmm ok?? bei meinen local-server gehts ka habt ihrs genauso gemacht????
#


freu mich schon richtig xDD
01/30/2010 17:42 SuraKämpfer1#70
Das schafft ihr schon ;)
01/30/2010 17:44 ganndom#71
Ja haben wir genauso alles eingegeben wie da ist.
01/30/2010 17:45 U-235#72
mh
hält niemals lange so wie das aussieht :/
01/30/2010 17:50 SuraKämpfer1#73
Sie haben nur Anfangsprobleme... Ich denke aber der Server wird Top! :D
01/30/2010 18:13 ExTrack#74
Das sind nur Probleme weil der Theard von Nitro64 falsch ist -.-
Und was können wir dafür wenn er was flasches rein Schreibt -.-?
Dann passiert auch sowas
01/30/2010 18:54 SuraKämpfer1#75
Und wie siehts aus? :D

Soo bleibt der thread immerhin erhalten ;)

Mfg