You don't have real connection information in your connection file... it has:
$hostname_securex = "fakehost";
$database_securex = "database";
$username_securex = "account";
$password_securex = "password";
That needs to have real database credentials to connect to a database.