phpMyAdmin setup problem

I am trying to get into dynamic web development using databases and have got a basic grip of php and XHTML.  I am following a book to guide me through obtaining and installing phpMyAdmin alongside MySQL but everytime I try to launch by putting http://localhost/phpMyAdmin/ into the browser the fatal error message comes up:  Call to a member function getName() on a non-object in C:\Users\Main User\Documents\My Websites\phpMyAdmin\libraries\ on line 688
I have been using a local testing environment with php successfully for several weeks now so am assuming Apache is set up correctly.
I have also added the file as shown in my guide that contains the following code:
$i = 1;
$cfg['Servers'][$i]['extension'] = 'mysqli';
$cfg['Servers'][$i]['auth_type'] = 'http';
and have been over the setup for MySQL several times at a loss now!!!
Can anyone suggest how I can fix this and get the graphical interface to MySQL up and running?
Thank you
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Please check if mysqli php module is installed, eg. phpinfo(); Try changing mysqli into mysql
James LooneySr. Programmer/AnalystCommented:
Honestly, I would download phpMyAdmin again and reinstall. With it being so easy to install I would do that first. Use it's in-browser wizard to set it up and configure the database.
take a look at /libraries/config.default.php, copy and rename it /
then run /scripts/create_tables_mysql_4_1_2+.sql
and change the following lines :
$cfg['blowfish_secret'] = 'your secret phrase';
$cfg['Servers'] = array();
$i = 1;
$cfg['Servers'][$i]['host'] = 'localhost';
$cfg['Servers'][$i]['connect_type'] = 'tcp';
$cfg['Servers'][$i]['extension'] = 'mysqli';
$cfg['Servers'][$i]['auth_type'] = 'cookie';
$cfg['Servers'][$i]['pmadb'] = 'phpmyadmin';
$cfg['Servers'][$i]['bookmarktable'] = 'pma_bookmark';
$cfg['Servers'][$i]['relation'] = 'pma_relation';
$cfg['Servers'][$i]['table_info'] = 'pma_table_info';
$cfg['Servers'][$i]['table_coords'] = 'pma_table_coords';
$cfg['Servers'][$i]['pdf_pages'] = 'pma_pdf_pages';
$cfg['Servers'][$i]['column_info'] = 'pma_column_info';
$cfg['Servers'][$i]['history'] = 'pma_history';
$cfg['Servers'][$i]['designer_coords'] = 'pma_designer_coords';

Open in new window

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Jimi_JerseyAuthor Commented:
I have taken a look at /libraries/config.default.php, and copied and renamed it in the same folder as the index.php.  The next step you have suggested I don't understand...(really am completely new to this!!!)
How do I run scripts/create_tables_mysql_4_1_2+.sql ?
I have searched for scripts (folder/file) everywhere.
I am running php version 5.2.6; MySQL 5.0; Apache 2.2.  The phpMyAdmin is version and i am using windows vista....if any of this helps at all
Hope ur solution works as I'm gong crazy..!
Thanks for your help!

It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.