Tag Archives: sql

Change Moodle admin password from the database

It’s quite straight forward to change the password from the database, although it changes a little depending on the Moodle version, version 2.5 and older use a different salting method, the salt can be found on the config.php file.

Posted in CMS/LMS, Databases, Moodle, MySQL | Tagged , , , , , , | Leave a comment

PHP Warning: mysql_connect(): client does not support authentication protocol

If you are working with a newer version of MySQL and an older version of PHP, you might encounter this error, when you try to establish the connection:

Posted in Databases, MySQL, PHP | Tagged , , | Leave a comment

Change WordPress URL

There are several ways to change an URL on a WordPress site, I find it easier if there’s access to the database. First change the URL under settings -> general screen.

Posted in CMS/LMS, WordPress | Tagged , | Leave a comment