MYSQL Root Şifresi Oluşturma
sisteminizi kurdunuz. mysql giris yapiyorsunuz ama size sifre filan sormuyor. Bu buyuk bir guvenlik acigidir. Bunun için mysql bir sifre koymaliyiz (genede siz bilirsiniz)
komut satirinda
[root@root ~]# mysql
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 2 to server version: 4.1.11
Type ‘help;’ or ‘\h’ for help. Type ‘\c’ to clear the buffer.
mysql>
şimdi burada “use mysql;” enter diyoruz. (Mysql database ni secmezsek hata verir)
mysql> use mysql;
mysql> UPDATE user SET Password=PASSWORD(’şifreniz’) WHERE user=’root’;
mysql> FLUSH PRIVILEGES;
mysql> exit
daha sonra komut satirinda
[root@root ~]# mysql -uroot -p sifreniz
seklinde girdiğinizde mysql giris yapmıs olacaksiniz. Şifrenizi elle size sormasını isterseniz
[root@root ~]# mysql -uroot -p
password :
seklinde karsiniza cikacaktir
Yorumsuz »
Henüz yorum yapılmamış.
Bu yazıdaki yorumlar için RSS beslemesi. TrackBack URL
Yorum yapın