Bursa Bilgisayar

Plesk Table ‘mysql.servers’ doesn’t exist

Merhaba Arkadaşlar,

Error: Connection to the database server has failed:
Table ‘mysql.servers’ doesn’t exist

Hatası alıyor iseniz sunucuya ssh girişi yaptıktan sonra aşağıdaki komutu çalıştırmanız yeterlidir.

[root@server ~]# mysql_fix_privilege_tables –user=admin –password= –verbose

Aşağıdaki gibi bir sonuç ortaya çıkması ile problem giderilmiş olacaktır.

This script updates all the mysql privilege tables to be usable by
the current version of MySQL

ERROR 1060 (42S21) at line 102: Duplicate column name ‘File_priv’
ERROR 1060 (42S21) at line 108: Duplicate column name ‘Grant_priv’
ERROR 1060 (42S21) at line 109: Duplicate column name ‘Grant_priv’
ERROR 1060 (42S21) at line 110: Duplicate column name ‘Grant_priv’
ERROR 1060 (42S21) at line 121: Duplicate column name ‘ssl_type’
ERROR 1061 (42000) at line 131: Duplicate key name ‘Grantor’
ERROR 1054 (42S22) at line 158: Unknown column ‘Type’ in ‘columns_priv’
ERROR 1060 (42S21) at line 180: Duplicate column name ‘type’
ERROR 1060 (42S21) at line 190: Duplicate column name ‘Show_db_priv’
ERROR 1060 (42S21) at line 207: Duplicate column name ‘max_questions’
ERROR 1060 (42S21) at line 217: Duplicate column name ‘Create_tmp_table_priv’
ERROR 1060 (42S21) at line 220: Duplicate column name ‘Create_tmp_table_priv’
ERROR 1060 (42S21) at line 345: Duplicate column name ‘Create_view_priv’
ERROR 1060 (42S21) at line 348: Duplicate column name ‘Create_view_priv’
ERROR 1060 (42S21) at line 351: Duplicate column name ‘Create_view_priv’
ERROR 1060 (42S21) at line 357: Duplicate column name ‘Show_view_priv’
ERROR 1060 (42S21) at line 360: Duplicate column name ‘Show_view_priv’
ERROR 1060 (42S21) at line 363: Duplicate column name ‘Show_view_priv’
ERROR 1060 (42S21) at line 380: Duplicate column name ‘Create_routine_priv’
ERROR 1060 (42S21) at line 383: Duplicate column name ‘Create_routine_priv’
ERROR 1060 (42S21) at line 386: Duplicate column name ‘Create_routine_priv’
ERROR 1060 (42S21) at line 392: Duplicate column name ‘Alter_routine_priv’
ERROR 1060 (42S21) at line 395: Duplicate column name ‘Alter_routine_priv’
ERROR 1060 (42S21) at line 398: Duplicate column name ‘Alter_routine_priv’
ERROR 1060 (42S21) at line 401: Duplicate column name ‘Execute_priv’
ERROR 1060 (42S21) at line 404: Duplicate column name ‘Execute_priv’
ERROR 1060 (42S21) at line 417: Duplicate column name ‘max_user_connections’
ERROR 1060 (42S21) at line 426: Duplicate column name ‘Create_user_priv’
ERROR 1060 (42S21) at line 448: Duplicate column name ‘Routine_type’
ERROR 1054 (42S22) at line 573: Unknown column ‘Event_priv’ in ‘where clause’
ERROR 1060 (42S21) at line 589: Duplicate column name ‘sql_mode’
ERROR 1060 (42S21) at line 628: Duplicate column name ‘originator’
ERROR 1060 (42S21) at line 632: Duplicate column name ‘time_zone’
ERROR 1060 (42S21) at line 635: Duplicate column name ‘character_set_client’
ERROR 1060 (42S21) at line 641: Duplicate column name ‘collation_connection’
ERROR 1060 (42S21) at line 647: Duplicate column name ‘db_collation’
ERROR 1060 (42S21) at line 653: Duplicate column name ‘body_utf8′
ERROR 1054 (42S22) at line 663: Unknown column ‘Trigger_priv’ in ‘where clause’
done

Eksik mysql güncellemelerde veya yeni sürümü derleme sırasında hata oluşabilmektedir. Bu yüzden arada bir mysql_fix_privilige_tables komutunu çalıştırmanızı tavsiye ederim.

Saygılar,
Admin

Related posts

188 thoughts on “Plesk Table ‘mysql.servers’ doesn’t exist

  1. I’m amazed, I have to admit. Rarely do I encounter a blog that’s both educative and amusing, and without a doubt, you have hit the nail on the head. The issue is something too few folks are speaking intelligently about. Now i’m very happy I came across this during my search for something concerning this.

  2. I could not refrain from commenting. Exceptionally well written!

  3. An interesting discussion is worth comment. I believe that you need to write more on this subject, it may not be a taboo matter but usually people don’t talk about these topics. To the next! Many thanks!!

  4. Your style is unique in comparison to other folks I have read stuff from. Many thanks for posting when you have the opportunity, Guess I’ll just bookmark this blog.

  5. There’s definately a great deal to learn about this subject. I like all the points you made.

Bir Cevap Yazın

E-posta hesabınız yayımlanmayacak. Gerekli alanlar * ile işaretlenmişlerdir

 Characters available