magnulf Skrevet 15. mars 2009 Del Skrevet 15. mars 2009 Hei har fulgt denne guiden: http://rubbervir.us/projects/ubuntu_media_server/part2.html bare med ubuntu 8.10 har kommet frem til: 4. Configure MYSQL We must also configure MYSQL so that the database can be accessed from the client computer. sudo pico /etc/mysql/my.cnf Change bind-address = localhost to #bind-address = localhost Set root password (self explanatory. Replace "yourpassword" with your password "yourusername" with your username and so on...) sudo mysql -u root SET PASSWORD FOR 'root'@'localhost' = PASSWORD('yourpassword'); GRANT ALL PRIVILEGES ON *.* TO 'yourusername'@'localhost' IDENTIFIED BY 'yourpassword' WITH GRANT OPTION; /q Jeg har satt #bind-adress = localhost, men det som skal være selvforklarende finner jeg ikke utav your password og yourusername osv hvordan eller hvor skal jeg skrive dette? har prøvd å søke litt men fant ikke noe som hjalp meg beklager vis dette har vært tatt opp før. takk for all eventuell hjelp. Lenke til kommentar
Kagee Skrevet 15. mars 2009 Del Skrevet 15. mars 2009 Om du kjører kommandoen sudo mysql -u root vil du komme inn i et MySQL-shell. Der kan du taste/lime inn SET PASSWORD FOR 'root'@'localhost' = PASSWORD('yourpassword');<enter> og GRANT ALL PRIVILEGES ON *.* TO 'yourusername'@'localhost' IDENTIFIED BY 'yourpassword' WITH GRANT OPTION;<enter> Så taster du \q<enter> for å komme ut av MySQL-shellet. Lenke til kommentar
magnulf Skrevet 15. mars 2009 Forfatter Del Skrevet 15. mars 2009 takk for hjelpen og forklaringen fikk det til nå. og forsto litt mer hva jeg gjor Lenke til kommentar
Smif Skrevet 15. mars 2009 Del Skrevet 15. mars 2009 Husk å tykke på [Løst] knappen og forklare/henvise til løsningen Lenke til kommentar
Anbefalte innlegg
Opprett en konto eller logg inn for å kommentere
Du må være et medlem for å kunne skrive en kommentar
Opprett konto
Det er enkelt å melde seg inn for å starte en ny konto!
Start en kontoLogg inn
Har du allerede en konto? Logg inn her.
Logg inn nå