Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Need help installing phpMyAdmin 2.8.2
Old 07-03-2006, 11:36 PM Need help installing phpMyAdmin 2.8.2
Skilled Talker

Posts: 90
Trades: 0
Hey,

I'm setting up a server... and installed Apache 2.2, PHP5 and mySQL 5.0. I know the Apache and PHP parts i got right... by the mySQL portion is where i'm running into trouble.

I tried to install phpMyAdmin 2.8.2.. but i can't seem to connect to mySQL when i get to the step where i run http://localhost/phpMyAdmin-2.8.2/index.php

The error reads as follows:
Quote:
phpMyAdmin tried to connect to the MySQL server, and the server rejected the connection. You should check the host, username and password in config.inc.php and make sure that they correspond to the information given by the administrator of the MySQL server.
Error

MySQL said: Documentation
#1045 - Access denied for user 'root'@'localhost' (using password: NO)
It also displays a large amount of php code above that message. I tried to configure config.inc.php .. but obviously did it wrong.

I was editing this portion of the code:

Code:
show_config_form(array(
            array('Server hostname', '----', 'Hostname where MySQL server is running'),
            array('Server port', '3306', 'Port on which MySQL server is listening, leave empty if don\'t know'),
            array('Server socket', 'socket', 'Socket on which MySQL server is listening, leave empty if don\'t know'),
            array('Connection type', 'tcp', 'How to connect to server, keep tcp if don\'t know', array('tcp', 'socket')),
            array('PHP extension to use', 'mysql', 'What PHP extension to use, use mysqli if supported', array('mysql', 'mysqli')),
            array('Compress connection', 'compress', 'Whether to compress connection to MySQL server', FALSE),
            array('Authentication type', 'config', 'Authentication method to use', array('cookie', 'http', 'config')),
            array('User for config auth', 'root', 'Leave empty if not using config auth'),
            array('Password for config auth', '----', 'Leave empty if not using config auth', 'rosebud'),
            array('Only database to show', 'only_db', 'Limit listing of databases in left frame to this one'),
            array('Verbose name of this server', 'verbose', 'Name to display in server selection'),
            array('phpMyAdmin control user', 'controluser', 'User which phpMyAdmin can use for various actions'),
            array('phpMyAdmin control user password', 'controlpass', 'Password for user which phpMyAdmin can use for various actions', 'password'),
            array('phpMyAdmin database for advanced features', 'pmadb', 'phpMyAdmin will allow much more when you enable this. Table names are filled in automatically.'),
            ),
            'Configure server',
            ($number === FALSE) ? 'Enter new server connection parameters.' : 'Editing server ' . get_server_name($defaults, $number),
            $defaults, $number === FALSE ? 'Add' : '', 'Servers_');
(the dashed lines were filled in with my server info/user info

Does anyone have any ideas of what i'm doing wrong?

I'm fairly positive mySQL is fine.. because i was able to create a database in there and all that... i just haven't had any success connecting to it (i also tried to install a php search called Sphider).
msaz87 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 07-09-2006, 06:25 PM Re: Need help installing phpMyAdmin 2.8.2
mgraphic's Avatar
Truth Seeker

Latest Blog Post:
JAMISONTUNES
Posts: 2,918
Name: Keith Marshall
Location: Connecticut
Trades: 0
What do you use to login into mysql from the command or telnet prompt?

You might need to edit your db/table: mysql.user
__________________

<mgraphic /> - I don't have a solution but I admire the problem.
mgraphic is offline
Reply With Quote
View Public Profile
 
Old 07-09-2006, 06:49 PM Re: Need help installing phpMyAdmin 2.8.2
Skilled Talker

Posts: 90
Trades: 0
I actually was able to resolve the issue.

Turns out i was configuring the wrong file.... i somehow got mixed up when creating the default file.

Thanks for your help though.
msaz87 is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Need help installing phpMyAdmin 2.8.2
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.13067 seconds with 12 queries