Help - Search - Members - Calendar
Full Version: Phpmyadmin Connection Troubles
Zymic Webmaster Forums > Zymic Free Web Hosting > Databases & MySQL
Benji3000
I sign in to phpmyadmin ok, 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.


I was told to use this code:

<?php
define('DB_HOST', 'localhost');
define('DB_USER', 'testsite_zymichost_com_myuser');
define('DB_PASS', 'password');
define('DB_NAME', 'testsite_zymichost_com_mydb');
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.');
}
}
?>




and save this in a text edit program as config.inc.php


For the sake of figuring this out, I am currently using the following information

username: lateste_tester
pass: testing
database: lateste_test
site: lateste.uuuq.com


can anyone help me out and if possible give the correct code (you can enter my info into it so i can see what you are doing). And explain to me what I need to be doing here. I got lost after reading through the numerous messages here on the forums. I don't know what infomation i am suppose to enter into the code, and for that matter, if I am suppose to put it in a text editer file and name it config.inc.php


Please help. Thanks
oreYeon
Hey Benji,

Sorry I don't have the answer yet. However I am researching it. Although, I am uploading an oscomerce site and my results may be different, the solution may be the same for both of us.

I have read on a lot of forums, and come up with that something needs to be changed in the .htaccess file. something to the extent of "php_value mbstring.func_overload 6", I have tried to add it as "#php_value mbstring.fun_overload 6#" to the end of the file, but that hasn't worked. Maybe the PHP Ver 5.1.6, isn't the most recent and needs an update?

Newho, It's too late to think any more. Reply if you learn something.


Cheers,

Chad
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.