Moodle plugin error. Wrong MySQL username, password or hostname in Moodle config.php:

Discussion in 'Installation' started by romepatel, Jan 21, 2010.

  1. romepatel

    romepatel New Member

    Joined:
    Jan 21, 2010
    Messages:
    2
    Hello ,

    I had an error when i was configuring the Moodle with aMember Pro

    i had a local setup of moodle in my machine , and when i was entering the
    Moodle Full Path as C:\wamp\www\yps, i got an error
    Moodle plugin error. Wrong MySQL username, password or hostname in Moodle config.php:

    So please help me out , so that i can configure Moodle with aMemeber.

    Thanks in Advance...!!!
  2. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    Do you have aMember Trial or PRO?
    If PRO edit moodle.inc.php and change this:
    if ($link = @mysql_connect($settings['dbhost'], $settings['dbuser'], $settings['dbpass'], true))
    to
    if ($link = mysql_connect($settings['dbhost'], $settings['dbuser'], $settings['dbpass'], true))

    and check what exact error will be generate.
  3. romepatel

    romepatel New Member

    Joined:
    Jan 21, 2010
    Messages:
    2
    Hi Alexander,

    Thanks for your reply,

    I am using the aMember Trail Pack , and also trying to implement the same with moodle 1.9.5 version.

    Please Help me out.

    Thanks in advance.
  4. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    Please contact me in helpdesk.
  5. markscacco

    markscacco New Member

    Joined:
    Sep 15, 2010
    Messages:
    1
    Im having the same problems

Share This Page