Ok, obviously I am doing something wrong.
I can log into phpmyadmin fine, but I get this message:
The mbstring PHP extension was not found and you seem to be using a multibyte charset. Without the mbstring extension phpMyAdmin is unable to split strings correctly and it may result in unexpected results.
Connection for controluser as defined in your config.inc.php failed.
My question is do I need the config.inc.php file (I was told to create it and move it in the phpmyadmin zipped folder)?
I used this script (maybe the problem is on here or maybe there is a problem with the formating of this script):
<?php
define('DB_HOST', 'localhost');
define('DB_USER', 'lateste_tester');
define('DB_PASS', 'testing');
define('DB_NAME', 'lateste_test');
define('DEBUG', true);
$con = mysql_connect(DB_HOST, DB_USER, DB_PASS);
if(!$con)
{
// error connecting
if(DEBUG === true)
{
die('Database connection error: ' . mysql_error());
}
else
{
die('Failed to connect to the database.');
}
}
if(!mysql_select_db(DB_NAME, $con))
{
if(DEBUG === true)
{
die('Failed to select database, error: ' . mysql_error());
}
else
{
die('Failed to connect to database.');
}
}
?>
the database name is lateste_test
username is lateste_tester
pass is testing
site is lateste.uuuq.com
Can anyone help me connect mysql and phpmyadmin so that i can finish making my site? Am I doing this wrong? Can someone please help me. I'm not sure if the config file is necessary or not or whether anything is in the correct format.
Also, the information that i send from the website (via the registration.php) does not show up on the table I sent it to despite the site saying the infomation has been sent. I think this problem is linked to the above problem.
Please and Thanks
