النتائج 1 إلى 4 من 4

الموضوع: استعادة الروت mysql

  1. #1
    عضو نشيط
    تاريخ التسجيل
    Sep 2007
    المشاركات
    117

    استعادة الروت mysql



    السلام عليكم ورحمة الله وبركاته

    اريد استعادة الروت لماسيكول

    هذه النقطة لم افهمها بالتحديد

    كود PHP:
    If you installed MySQL to a location other than C:\mysqladjust the command accordingly.

    The server executes the contents of the file named by the --init-file option at startupchanging each root account password.

    You can also add the --console option to the command if you want server output to appear in the console window rather than in a log file.

    If 
    you installed MySQL using the MySQL Installation Wizardyou may need to specify a --defaults-file option:

    C:\> "C:\Program Files\MySQL\MySQL Server 5.5\bin\mysqld.exe"
             
    --defaults-file="C:\\Program Files\\MySQL\\MySQL Server 5.5\\my.ini"
             
    --init-file=C:\\mysql-init.txt
    The appropriate 
    --defaults-file setting can be found using the Services ManagerFrom the Start menuselect Control Panelthen Administrative Toolsthen ServicesFind the MySQL service in the list, right-click it, and choose the Properties optionThe Path to executable field contains the --defaults-file setting.

    After the server has started successfullydelete C:\mysql-init.txt.

    You should now be able to connect to the MySQL server as root using the new passwordStop the MySQL serverthen restart it in normal mode again. If you run the server as a servicestart it from the Windows Services window. If you start the server manually, use whatever command you normally use. 

    وهـذا رابط الموضوع
    http://dev.mysql.com/doc/refman/5.5/...ssions-windows





    __________________
    اللهم لا علم لنا الا ما علمتنا انك انت العليم

    http://shareID.info





  2. #2
    خبير سيرفرات لينكس
    تاريخ التسجيل
    Mar 1999
    المشاركات
    4,917


    ما نوع نظامك

    Sent from my GT-I9100






  3. #3
    عضو نشيط
    تاريخ التسجيل
    Sep 2007
    المشاركات
    117


    windows





    __________________
    اللهم لا علم لنا الا ما علمتنا انك انت العليم

    http://shareID.info




  4. #4
    عضو نشيط
    تاريخ التسجيل
    Jun 2008
    المشاركات
    180


    الطريقة سهله على حسب الشرح فالموقع

    اولا ادخل للدوس وادخل للملف الموجود فيه ال mysql وعادة ياتي مع السيرفر سواء كان xampp او wamp

    اولا نضع الاوامر التالية في ملف نصي

    كود PHP:
    UPDATE mysql.user SET Password=PASSWORD('MyNewPass'WHERE User='root';
    FLUSH PRIVILEGES
    مع تغيير MyNewPass الي الباسورد المراد وضعه
    وتاكد ان كل امر في سطر لوحده
    واحفظه مثلا باسم mysql-init.txt في قرص السي
    ثم نفذ الامر التالي في الدوس طبعا بعد دخولك الى مجلد bin الموجود داخل مجلد mysql

    كود PHP:
    mysqld.exe --console  --init-file=C:\\mysql-init.txt 
    وسوف تشاهد العمليات اللتي يقوم بها لتغيير باسورد الروت










ضوابط المشاركة

  • لا تستطيع إضافة مواضيع جديدة
  • لا تستطيع الرد على المواضيع
  • لا تستطيع إرفاق ملفات
  • لا تستطيع تعديل مشاركاتك
  •  

أضف موقعك هنا| اخبار السيارات | حراج | شقق للايجار في الكويت | بيوت للبيع في الكويت | دليل الكويت العقاري | مقروء | شركة كشف تسربات المياه | شركة عزل اسطح بالرياض | عزل فوم بالرياض| عزل اسطح بالرياض | كشف تسربات المياة بالرياض | شركة عزل اسطح بالرياض