You are not logged in.

#1 2004-07-27 17:59:17

tonyso
Member
Registered: 2004-07-27
Posts: 2

installing phpMyAdmin on localhost

I modified the config.inc.php as instructed...it doesn't work!
I get errors like the following when I try to access it by...
http://localhost/phpMyAdmin/index.php
--------------------------------------------
The host name is empty!
Warning: Cannot modify header information - headers already sent by (output started at /Library/WebServer/Documents/phpMyAdmin/libraries/common.lib.php:1211) in /Library/WebServer/Documents/phpMyAdmin/main.php on line 21

Warning: Cannot modify header information - headers already sent by (output started at /Library/WebServer/Documents/phpMyAdmin/libraries/common.lib.php:1211) in /Library/WebServer/Documents/phpMyAdmin/libraries/ob.lib.php on line 61

Warning: Cannot modify header information - headers already sent by (output started at /Library/WebServer/Documents/phpMyAdmin/libraries/common.lib.php:1211) in /Library/WebServer/Documents/phpMyAdmin/libraries/header_http.inc.php on line 14

Warning: Cannot modify header information - headers already sent by (output started at /Library/WebServer/Documents/phpMyAdmin/libraries/common.lib.php:1211) in /Library/WebServer/Documents/phpMyAdmin/libraries/header_http.inc.php on line 15

Warning: Cannot modify header information - headers already sent by (output started at /Library/WebServer/Documents/phpMyAdmin/libraries/common.lib.php:1211) in /Library/WebServer/Documents/phpMyAdmin/libraries/header_http.inc.php on line 16

Warning: Cannot modify header information - headers already sent by (output started at /Library/WebServer/Documents/phpMyAdmin/libraries/common.lib.php:1211) in /Library/WebServer/Documents/phpMyAdmin/libraries/header_http.inc.php on line 17

Warning: Cannot modify header information - headers already sent by (output started at /Library/WebServer/Documents/phpMyAdmin/libraries/common.lib.php:1211) in /Library/WebServer/Documents/phpMyAdmin/libraries/header_http.inc.php on line 20

Welcome to phpMyAdmin 2.5.7-pl1

Warning: mysql_query(): Access denied for user: 'root@localhost' (Using password: NO) in /Library/WebServer/Documents/phpMyAdmin/libraries/mysql_wrappers.lib.php on line 104

Warning: mysql_query(): A link to the server could not be established in /Library/WebServer/Documents/phpMyAdmin/libraries/mysql_wrappers.lib.php on line 104

Error

SQL-query : 

SELECT VERSION() as version, USER() as user

MySQL said:

#1045 - Access denied for user: 'root@localhost' (Using password: NO)
[Documentation]
---------------------------------------------

maybe I did not modify the config.inc.php correctly...
Please help...
Thanks

Offline

 

#2 2004-07-28 08:25:26

tonyso
Member
Registered: 2004-07-27
Posts: 2

Re: installing phpMyAdmin on localhost

I got it working with the new beta version. thanks

Offline

 

#3 2004-07-30 19:55:31

shtan
Member
Registered: 2004-07-30
Posts: 1

Re: installing phpMyAdmin on localhost

tony,

I'm facing the same problem with error message #1045.
"Apache cannot be runned, another web server used the web port"

I'm unable to access to phpadmin even though using administrator!

How to open config.nic.php file and modify it?

Need your help urgently to solve the problem.

Offline

 

#4 2004-08-06 04:12:43

jc
Member
Registered: 2004-08-06
Posts: 1

Re: installing phpMyAdmin on localhost

:? PLEASE HELP!!! once I enter phpmyadmin everything seems to work OK, but a message reads as follows:
The Scfg ['PmaAbsoluteUri] directive MUST be set in your configuration file! Your configuration file contains settings (root with no password) that corresponds to the default MySQL privileged account. Your MySQL Server is running with this default, is open to intrusion, and you really should fix this security hole.

Could somebody (in real simple terms) tell me where I'm going wrong between my mysql user settings and config.inc.php.

I am using mac os x 10.2.6.

Thank you

Offline

 

#5 2004-08-17 18:22:46

Justin
Site Admin
Registered: 2003-06-01
Posts: 33
Website

Re: installing phpMyAdmin on localhost

The Scfg ['PmaAbsoluteUri] directive MUST be set in your configuration file!

The above portion is the reason your installation isn't working. The rest of the error message is just a security warning. As the above quote indicates, you need to enter the absolute URI in your config.inc.php file. The relevant line should look something like:

Code:

$cfg['PmaAbsoluteUri'] = 'https://yourdomain.com/path_to_phpMyAdmin/';

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson