Webmaster Forumu

Geri git   Webmaster Forumu > Webmaster Kaynak Eğitim Tanıtım Hizmet > MySQL Veritabanı SQL

MySQL Veritabanı SQL SQL MySQL Access MSSQL Oracle Veritabani Database

Cevapla
 
LinkBack (1) Seçenekler Stil
  1 links from elsewhere to this Post. Click to view. #1 (permalink)   iTrader 
Alt 2008-01-31, 14:52
Junior Member
 
Üyelik tarihi: Jan 2008
Mesajlar: 16
Teşekkür: 0
Thanked 0 Times in 0 Posts
Tecrübe Puanı: 0
iTrader: %0/0
scorpi is an unknown quantity at this point
Standart mysql şifresini

mysql şifresini degitirdikten sonra yedek almaya çalıştıgımda
Kod:
DBI connect('mysql:localhost','root',...) failed: Access denied for user 'root'@'localhost' (using password: NO) at /usr/local/cpanel/Cpanel/Mysql.pm line 38
DBI connect('mysql:localhost','root',...) failed: Access denied for user 'root'@'localhost' (using password: NO) at /usr/local/cpanel/Cpanel/Mysql.pm line 38
Done
Grabbing mysql privs...DBI connect('mysql:localhost','root',...) failed: Access denied for user 'root'@'localhost' (using password: NO) at /usr/local/cpanel/Cpanel/Mysql.pm line 38


böyle bir hata veriyor bunu nasıl düzeltebilirim acaba
Alıntı ile Cevapla

  #2 (permalink)   iTrader 
Alt 2008-01-31, 17:09
iyinet - ait Kullanıcı Resmi (Avatar)
Paylaşım için teşekkürler
 
Üyelik tarihi: Sep 2002
Mesajlar: 6.223
Blog Entries: 2
Teşekkür: 2
Thanked 31 Times in 10 Posts
Tecrübe Puanı: 3
iTrader: %100/6
iyinet is just really niceiyinet is just really niceiyinet is just really niceiyinet is just really nice
Standart

2 yöntemden birinini uygulaman yeterli

1. şifresiz bir root kullanıcısı ekleyerek.
2. yedeği alan programa root şifresini girerek
__________________
Forum Reklam Site Reklam
Alıntı ile Cevapla

  #3 (permalink)   iTrader 
Alt 2008-01-31, 17:15
Junior Member
 
Üyelik tarihi: Jan 2008
Mesajlar: 16
Teşekkür: 0
Thanked 0 Times in 0 Posts
Tecrübe Puanı: 0
iTrader: %0/0
scorpi is an unknown quantity at this point
Standart

root şifresini nasıl kaldırabiliriz acaba ssh ile.
Alıntı ile Cevapla

  #4 (permalink)   iTrader 
Alt 2008-01-31, 17:27
iyinet - ait Kullanıcı Resmi (Avatar)
Paylaşım için teşekkürler
 
Üyelik tarihi: Sep 2002
Mesajlar: 6.223
Blog Entries: 2
Teşekkür: 2
Thanked 31 Times in 10 Posts
Tecrübe Puanı: 3
iTrader: %100/6
iyinet is just really niceiyinet is just really niceiyinet is just really niceiyinet is just really nice
Standart

root şifresini sıfırlamak yerine boş şifreli bir root kullanıcısını eklemeyi dene, sorun olursa sıfırlamayı da gösteririm:

MySQL e ssh den root ile giriş yapın ve şifresiz root kullanıcısı eklemek için aşağıdaki komutları çalıştırın

mysql> GRANT ALL PRIVILEGES ON *.* TO 'root'@'localhost' IDENTIFIED BY '';
Query OK, 0 rows affected (0.01 sec)

mysql> flush privileges;
Query OK, 0 rows affected (0.01 sec)
__________________
Forum Reklam Site Reklam
Alıntı ile Cevapla

  #5 (permalink)   iTrader 
Alt 2008-01-31, 17:38
Junior Member
 
Üyelik tarihi: Jan 2008
Mesajlar: 16
Teşekkür: 0
Thanked 0 Times in 0 Posts
Tecrübe Puanı: 0
iTrader: %0/0
scorpi is an unknown quantity at this point
Standart

Alıntı:
mysql> mysql> GRANT ALL PRIVILEGES ON *.* TO 'root'@'localhost' IDENTIFIED BY '' ;
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mysql > GRANT ALL PRIVILEGES ON *.* TO 'root'@'localhost' IDENTIFIED BY ''' at line 1
mysql> Query OK, 0 rows affected (0.01 sec)
->
-> mysql> flush privileges;
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Query OK, 0 rows affected (0.01 sec)
mysql> flush privileges' at line 1
mysql> Query OK, 0 rows affected (0.01 sec)
-> GRANT ALL PRIVILEGES ON *.* TO 'root'@'localhost' IDENTIFIED BY '';
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Query OK, 0 rows affected (0.01 sec)
GRANT ALL PRIVILEGES ON *.* TO 'root'@'loc' at line 1
mysql> Query OK, 0 rows affected (0.01 sec)
-> flush privileges;
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Query OK, 0 rows affected (0.01 sec)
flush privileges' at line 1
mysql> Query OK, 0 rows affected (0.01 sec)

böyle bir sorun oldu.

Konu scorpi tarafından (2008-01-31 Saat 17:41 ) değiştirilmiştir..
Alıntı ile Cevapla

  #6 (permalink)   iTrader 
Alt 2008-01-31, 17:48
Junior Member
 
Üyelik tarihi: Jan 2008
Mesajlar: 16
Teşekkür: 0
Thanked 0 Times in 0 Posts
Tecrübe Puanı: 0
iTrader: %0/0
scorpi is an unknown quantity at this point
Standart

[root@host ~]# /usr/bin/mysql mysql
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)

mysql girmeye çalıştıgımdada hata veriyor.
Alıntı ile Cevapla

  #7 (permalink)   iTrader 
Alt 2008-01-31, 18:12
iyinet - ait Kullanıcı Resmi (Avatar)
Paylaşım için teşekkürler
 
Üyelik tarihi: Sep 2002
Mesajlar: 6.223
Blog Entries: 2
Teşekkür: 2
Thanked 31 Times in 10 Posts
Tecrübe Puanı: 3
iTrader: %100/6
iyinet is just really niceiyinet is just really niceiyinet is just really niceiyinet is just really nice
Standart

mysql> mysql> GRANT ALL PRIVILEGES ON *.* TO 'root'@'localhost' IDENTIFIED BY '' ;

mysql e girsikden sonra kırmızı kısmı koymanıza gerek yok! O kısımlar anlatım için konulmuştur komut değildir.
__________________
Forum Reklam Site Reklam
Alıntı ile Cevapla

  #8 (permalink)   iTrader 
Alt 2008-01-31, 18:32
Junior Member
 
Üyelik tarihi: Jan 2008
Mesajlar: 16
Teşekkür: 0
Thanked 0 Times in 0 Posts
Tecrübe Puanı: 0
iTrader: %0/0
scorpi is an unknown quantity at this point
Standart

Alıntı:
mysql> GRANT ALL PRIVILEGES ON *.* TO 'root'@'localhost' IDENTIFIED BY '';
Query OK, 0 rows affected (0.02 sec)

mysql> flush privileges;
Query OK, 0 rows affected (0.00 sec)

mysql> quit
Bye
[root@host ~]# service mysql restart
Shutting down MySQL. SUCCESS!
Starting MySQL SUCCESS!
[root@host ~]# /scripts/pkgacct akadem
pkgacct started.
pkgacct version 6.0 - running with uid 0
using time::hires for speedups
rdate: rdate: could not set system time: Operation not permitted
Copying Reseller Config...Done
Copying Suspension Info (if needed)...Done
Copying SSL Certificates, CSRS, and Keys...Done
Copying Counter Data....Done
Copying Bandwidth Data.......-----------.com...Done
Copying Dns Zones.......-------------...Done
Copying Mail files....Done
Copying frontpage files....Done
Copying proftpd file....Done
Copying www logs.............
.........
Done
Copy userdata............
Copy custom virtualhost templates............
Done
/usr/bin/mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'root'@'localhost' (using password: YES)'
Grabbing mysql dbs............
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
mysqldump: Got error: 1045: Access denied for user 'root'@'localhost' (using password: YES) when trying to connect
mysqldump: Got error: 1045: Access denied for user 'root'@'localhost' (using password: YES) when trying to connect
abi kullanucı yaptım resetledim mysql ama yine yedek alırken aynı hatayı verdi.
Alıntı ile Cevapla

  #9 (permalink)   iTrader 
Alt 2008-01-31, 18:38
iyinet - ait Kullanıcı Resmi (Avatar)
Paylaşım için teşekkürler
 
Üyelik tarihi: Sep 2002
Mesajlar: 6.223
Blog Entries: 2
Teşekkür: 2
Thanked 31 Times in 10 Posts
Tecrübe Puanı: 3
iTrader: %100/6
iyinet is just really niceiyinet is just really niceiyinet is just really niceiyinet is just really nice
Standart

Hata mesajından anladığım kadarı ile yedek alan program root şifrenin belli bşey olmasını istiyor.
Ne olmasını istiyorsa root şifresini ona ayarlamalısın. Panelde root şifresi için öyle biryer olabilir.
__________________
Forum Reklam Site Reklam
Alıntı ile Cevapla

  #10 (permalink)   iTrader 
Alt 2008-01-31, 18:40
Junior Member
 
Üyelik tarihi: Jan 2008
Mesajlar: 16
Teşekkür: 0
Thanked 0 Times in 0 Posts
Tecrübe Puanı: 0
iTrader: %0/0
scorpi is an unknown quantity at this point
Standart

putty le alıyorum ,eskiden şifre yokken hiç sorun çıkarmadan alıyordum ama şifre girdikten sonra bunu yapmaya başladı.
Alıntı ile Cevapla

Cevapla

LinkBacks (?)
LinkBack to this Thread: http://forum.iyinet.com/mysql-veritabani-sql/81908-mysql-sifresini.html
Konuyu Başlatan For Type Tarih
mysql şifresini - Google - Webmaster Forum / Google Webmaster Fan This thread Refback 2008-04-27 08:58

Seçenekler
Stil

Yetkileriniz
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is Açık
Smileler Açık
[IMG] Kodları Açık
HTML-KodlarıKapalı
Trackbacks are Açık
Pingbacks are Açık
Refbacks are Açık

Benzer Konular
Konu Konuyu Başlatan Forum Cevaplar Son Mesaj
Mutluluğun Şifresini Keşfet ibrahimkoknar Kampanyalar Promosyonlar 6 2007-03-10 08:01
MSN şifresini kırıp dolandırdılar jamalgs Güncel Konular Haberler 0 2006-08-07 12:56


Bütün Zaman Ayarları WEZ +2 olarak düzenlenmiştir. Şu Anki Saat: 22:38 .


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0

Firefox