Home › Forums › Other › Setting up a local testing server (WAMP) with Sublime Text › Re: Setting up a local testing server (WAMP) with Sublime Text
March 5, 2012 at 3:09 pm
#98194
Member
Just for anyone who may experience the same problem, the issue for me was that I failed to set a password in the code (below) from the functions.php file that corresponds to the database that I set up in xampp:
function connect() {
global $pdo;
$pdo = new PDO("mysql:host=localhost;dbname=sakila", "root", "root");
I hate myself sometimes!