Milonic provide full featured pull down web menus for some of the worlds largest companies
click here to see what it can do for you

Download Milonic DHTML Menu
Buy Milonic DHTML Menu

Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:23

Cannot connect using PHP/MySQL version of Menus


Poster: dmacman
Dated: Friday December 2 2005 - 15:59:58 GMT

Hi all,

I am trying out for the first time, the PHP version and I configured the mm_config.php file and my file and setup all the user info and paths, and I cannot get the connection to work.

I am sure the login info is correct, and I have permission to access that database, I am the admin and set them myself. Not to mention I have hundreds of php pages using the exact same username and password.

Has anyone run into this yet, and solved it???

Here is the error message ( I changed the response to ensure it is MY file to elimate that possibillity).

Quote:
Warning: mysql_pconnect(): Access denied for user: 'x __at__ localhost' (Using password: YES) in /home/ideachannel/www/www/test/includes/mm_phpmenu.php on line 250
Couldn't connect to the database server !!!

Arrgghh!!!


Here is the link to the page.

http://www.ideachannel.com/test/mmtest.php

Thanks,

Don


Poster: mute
Dated: Monday December 5 2005 - 17:41:46 GMT

Maybe try substituting the server's hostname or IP address instead of "localhost".

Re: Cannot connect using PHP/MySQL version of Menus


Poster: Grout31
Dated: Friday March 27 2009 - 20:44:26 GMT

did this ever get resolved?

I was so excited about using this application but am left deflated as i cannot get it to work.

Yes i have tried the above suggestion and still recieve the same error.

Please help.....................i have spent a day on this and am ready to delte and try another program if all else fails (which i dont want to do!!!)

Steve

Re: Cannot connect using PHP/MySQL version of Menus


Poster: Andy
Dated: Friday March 27 2009 - 21:13:37 GMT

Grout31 wrote:
did this ever get resolved?

I was so excited about using this application but am left deflated as i cannot get it to work.

Yes i have tried the above suggestion and still recieve the same error.

Please help.....................i have spent a day on this and am ready to delte and try another program if all else fails (which i dont want to do!!!)

Steve


What's exactly is the problem?

Are there any errors we can see?

-- Andy

Re: Cannot connect using PHP/MySQL version of Menus


Poster: Grout31
Dated: Saturday March 28 2009 - 2:20:37 GMT

Andy

Thankyou for you prompt reply.

The error i get is :-

Warning: mysql_pconnect() [function.mysql-pconnect]: Access denied for user 'invicta_steve' __at__ '195.12.48.132' (using password: YES) in /home/invicta/public_html/Grout-systems.com/mm_phpmenu.php on line 242
Couldn't connect to the database server


I get the same message if i use "localhost", i have tried alsorts of combinations but to no avail.

I know the user name, password, and database name are correct as i have tried them on another test script and it connects fine.

Please can you also clarrify which files i require in the root directory, am i being really stupid here?

Steve

Re: Cannot connect using PHP/MySQL version of Menus


Poster: Andy
Dated: Saturday March 28 2009 - 10:45:08 GMT

Definately looks like a permissions problem.

If you can get me access to the server I'll take a look.

You can email details to andy at milonic and I'll see what I can do

Re: Cannot connect using PHP/MySQL version of Menus


Poster: Grout31
Dated: Saturday March 28 2009 - 12:09:28 GMT

Email sent

Re: Cannot connect using PHP/MySQL version of Menus


Poster: Andy
Dated: Thursday April 16 2009 - 11:00:08 BST

UPDATE:

This problem was in fact caused by permissions - all that was required was a refresh or flushing of the permission in MySQL.

Everything worked once this had been done.