I purchased a pre-created website that was written in php. I changed hosting companies to 1&1. After that a conflict with phpMyAdmin started and I don't know where to go in my code to point to mysql correctly. If anyone knows php or mysql that can help me out it would be much appreciated. Thank You

In your phpMyAdmin folder there is a file called: config.inc.php. Open it in a text editor(if the text looks funny try wordpad or some equiv) and look for the following:

$cfg['PmaAbsoluteUri'] = '';

$cfg['Servers'][$i]['host'] = 'localhost'; // MySQL hostname or IP address

$cfg['Servers'][$i]['auth_type'] = 'cookie'; // Authentication method (config, http or cookie based)?
$cfg['Servers'][$i]['user'] = '';                 // MySQL user
$cfg['Servers'][$i]['password'] = '';          // MySQL password (only needed

Probably the only thing to change will be the PmaAbsoluteUri, just makesure it points to your domain ex: http://www.whatever.com On another note if your
domain has not fully transferred yet you will have to wait until it does....

As far as the extra stuff I recommend cookie auth because it is more secure. The $cfg[$i] more than likely should be localhost, if not you will have to contact your provider to get correct info.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.