Kezdőlap › Fórumok › Ubuntu Linux › Ubuntu + Mysql gond
- This topic has 16 hozzászólás, 5 résztvevő, and was last updated 18 years, 3 months telt el by
espero.
-
SzerzőBejegyzés
-
2007-03-13-19:29 #2095414
Na, ilyen problémám nekem is van az LFS-en, igaz, én még küzdök, mint disznó a jégen 🙂
2007-03-13-19:29 #2095415Na, ilyen problémám nekem is van az LFS-en, igaz, én még küzdök, mint disznó a jégen 🙂
2007-03-13-19:35 #2095416Én eme leírás alapján állítottam be anno a jelszavakat hozzá:
You should remove the two anonymous user accounts from mysql. Use this to accomplish it:
Code:mysql -u rootCode:mysql> DELETE FROM mysql.user WHERE User = ”;Code:mysql> FLUSH PRIVILEGES;Lastly, you have to set a root password for mysql, and remove the anonymous accounts installed by default. Reset the root password by using:
Code:mysql -u rootCode:mysql> SET PASSWORD FOR ‘root’@’localhost’ = PASSWORD(‘newpwd’);Code:mysql> SET PASSWORD FOR ‘root’@’host_name’ = PASSWORD(‘newpwd’);Replace the password between the two single quotes with a password of your choice. You will need this password later on! For the second password statement, replace ‘host_name’ with the IP address of the computer mysql is running on.
2007-03-13-19:35 #2095417Én eme leírás alapján állítottam be anno a jelszavakat hozzá:
You should remove the two anonymous user accounts from mysql. Use this to accomplish it:
Code:mysql -u rootCode:mysql> DELETE FROM mysql.user WHERE User = ”;Code:mysql> FLUSH PRIVILEGES;Lastly, you have to set a root password for mysql, and remove the anonymous accounts installed by default. Reset the root password by using:
Code:mysql -u rootCode:mysql> SET PASSWORD FOR ‘root’@’localhost’ = PASSWORD(‘newpwd’);Code:mysql> SET PASSWORD FOR ‘root’@’host_name’ = PASSWORD(‘newpwd’);Replace the password between the two single quotes with a password of your choice. You will need this password later on! For the second password statement, replace ‘host_name’ with the IP address of the computer mysql is running on.
2007-03-13-19:47 #2095418Az itt található leírásra gondolsz? Na, majd egyszer nekiesek. Asszem újrahúzom a mysql-t, szerintem egy kicsit(?) már szétbarmoltam…
2007-03-13-19:47 #2095419Az itt található leírásra gondolsz? Na, majd egyszer nekiesek. Asszem újrahúzom a mysql-t, szerintem egy kicsit(?) már szétbarmoltam…
2007-03-13-21:50 #2095420Igen, onnan származik. 🙂
2007-03-13-21:50 #2095421Igen, onnan származik. 🙂
2007-03-26-11:41 #2095422Rövid vázlat a helyzetről: van egy régi házi fejlesztőkörnyezet (SUSE 9.0 alapon). Szeretném frissebb alapokra helyezni.
Ez Ubuntu Edgy, a benne levő 4.11 Mysql szerver, sun java, Tomcat. Áthoztam az adatbázist, de a próba szervlet sír, hogy nem tud csatlakozni a Mysql-hez a 3306-os porton.
Első körben szeretném megtudni, hogy elérhető-e a szerver a megadott porton (hogy tudjam, melyik oldal gyengélkedik, a Mysql, vagy a szervlet). Hogyan lehet ezt ellenőrizni?2007-03-26-11:41 #2095423Rövid vázlat a helyzetről: van egy régi házi fejlesztőkörnyezet (SUSE 9.0 alapon). Szeretném frissebb alapokra helyezni.
Ez Ubuntu Edgy, a benne levő 4.11 Mysql szerver, sun java, Tomcat. Áthoztam az adatbázist, de a próba szervlet sír, hogy nem tud csatlakozni a Mysql-hez a 3306-os porton.
Első körben szeretném megtudni, hogy elérhető-e a szerver a megadott porton (hogy tudjam, melyik oldal gyengélkedik, a Mysql, vagy a szervlet). Hogyan lehet ezt ellenőrizni? -
SzerzőBejegyzés
- Be kell jelentkezni a hozzászóláshoz.
legutóbbi hsz