+ Post New Thread
Page 2 of 2 FirstFirst 12
Results 16 to 17 of 17
Coding Thread, Moodle died - help with PHP/MYSQL needed in Coding and Web Development; Find your my.ini file. I'm not sure if this is in the Windows folder or the MySQL folder. Then find ...
  1. #16

    webman's Avatar
    Join Date
    Nov 2005
    Location
    North East England
    Posts
    8,400
    Thank Post
    636
    Thanked 961 Times in 661 Posts
    Blog Entries
    2
    Rep Power
    319
    Find your my.ini file. I'm not sure if this is in the Windows folder or the MySQL folder. Then find lines like:

    Code:
    #skip-innodb
    #skip-bdb
    #skip-federated
    Make sure they are commented out with hash symbols as shown. Then try to run mysql_upgrade - it should be in the MySQL folder.

  2. #17

    Join Date
    May 2011
    Posts
    11
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    There are two my.ini files - one in \mysql\ and one in \mysql\bin

    Both only have #skip-innodb - there is no sign of #skip-bdb or #skip-federated in either file.

    The mysql_upgrade.exe is in \mysql\bin - running this from the folder just runs through. Running it from cmd give the following error:

    Looking for 'mysql.exe' in: d:\server\mysql\bin\mysql.exe
    Looking for 'mysqlcheck.exe' in: d:\server\mysql\bin\mysqlcheck.exe
    Running 'mysqlcheck'...
    d:\server\mysql\bin\mysqlcheck.exe: Got error: 2003: Can't connect to MySQL serv
    er on 'localhost' (10061) when trying to connect
    FATAL ERROR: Upgrade failed

SHARE:
+ Post New Thread
Page 2 of 2 FirstFirst 12

Similar Threads

  1. PHP/MySQL
    By Silvor in forum Coding
    Replies: 2
    Last Post: 12th May 2010, 02:52 PM
  2. Best Site to learn php and mysql?
    By My220x in forum Coding
    Replies: 11
    Last Post: 23rd April 2008, 08:58 AM
  3. Can't get mysql and PHP to play together on IIS
    By dagza in forum Web Development
    Replies: 5
    Last Post: 20th January 2008, 03:38 PM
  4. PHP MYSQL Hit counter
    By Nij.UK in forum Web Development
    Replies: 9
    Last Post: 15th November 2006, 09:11 AM
  5. php MySql
    By iking in forum Books and Manuals
    Replies: 0
    Last Post: 11th July 2005, 03:35 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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