Go Back   HostGator Peer Support Forums > Public Forums > Pre-Sales Questions

Notices

Reply
 
Thread Tools
  #1  
Old 11-20-2009, 07:20 AM
Thinktop Thinktop is offline
Hatchling Croc
 
Join Date: Mar 2009
Posts: 3
Default Is this issue related to hosting ?

Hi,

Its urgent.

I am facing this error "http://joomla-india.org/hell/index.php?page=checkout.index&redirected=1&option= com_virtuemart&Itemid=82&Itemid=1&user_id=%3Cbr%20/%3E%3Cb%3EWarning%3C/b%3E:20%20mysql_connect()%20[%3Ca%20 href='function.mysql-connect'%3Efunction.mysql-connect%3C/a%3E]:%20Access %20denied%20for%20user%20' canwil3_yogesh'@'gator514.hostgator.com' %20(using%20password:%20YES)%20in%20%3Cb%3E/home/canwil3/public_html/hell/getuser.php%3C/b%3E%20on%20line%20%3Cb%3E27%3C/b%3E%3Cbr%20/%3ECould%20not%20connect:%20Access%20denied%20for% 20user%20'canwil3_yogesh'@'gator514.hostgator.com' %20(using%20password:%20YES)&Itemid=1&user_id=%3Cb r%20/%3E%3Cb%3EWarning%3C/b%3E:%20%20mysql_connect() %20[%3Ca%20href='function.mysql-connect'%3Efunction.mysql-connect%3C/a%3E]: %20Lost %20connection %20to%20MySQL%20server%20at%20'reading %20initial%20 communication%20packet',%20system%20error:%20111%2 0in%20%3Cb%3E/home/canwil3/public_html/hell/getuser.php%3C/b%3E%20on%20line%20%3Cb%3E27%3C/b%3E%3Cbr%20/%3ECould%20not%20connect:%20Lost %20connection%20to%20MySQL%20server%20at%20'readin g%20initial%20communication%20packet',%20system%20 error:%20111 "

Please anybody here can tell me about it. Functionality works nice at localhost but showing error when it runs on web.
Working On virtuemart.
CMS : Joomla
PHP: 5.0
My Sql:2.0
Reply With Quote
  #2  
Old 11-20-2009, 11:53 AM
GatorSteveN's Avatar
GatorSteveN GatorSteveN is offline
HostGator Staff
 
Join Date: Dec 2006
Location: h-town
Posts: 503
Default Re: Is this issue related to hosting ?

Looks like you need to add canwil3_yogesh in the "Add User To Database" section to that database.
__________________
Cheers,

Steve N
SEO/Senior Billing Administrator
HostGator.com LLC
http://support.hostgator.com

Houston Music Museum
The Birthplace of Rock and Roll


Reply With Quote
  #3  
Old 11-20-2009, 10:43 PM
Thinktop Thinktop is offline
Hatchling Croc
 
Join Date: Mar 2009
Posts: 3
Default Re: Is this issue related to hosting ?

Hi GatorSteveN,

My sql forum replied to the same error
please check this=> http://forums.mysql.com/read.php?10,...150#msg-292150
Reply With Quote
  #4  
Old 11-21-2009, 02:40 AM
alemcherry alemcherry is offline
Junior Croc
 
Join Date: Mar 2008
Posts: 172
Default Re: Is this issue related to hosting ?

The answer on mysql forum will need some technical knowlwdge to understand and they obviously have no idea about how mysql is set up on Hostgator servers. You just have to make sure that the mysql user name, server name, database name, password are correct and mysql user has the permission on database as GatorSteveN mentioned. Actually I guess I too feel this is permission probalem and many people dont know / forget to give permission for the user to the database.
__________________
Reply With Quote
  #5  
Old 11-21-2009, 09:12 AM
GvilleRick's Avatar
GvilleRick GvilleRick is offline
Emperor Croc
 
Join Date: Jan 2007
Location: Greenville, SC
Posts: 3,128
Default Re: Is this issue related to hosting ?

How did you set up Joomla, through Fantastico or manually? From the reply in the SQL forum it sounds like you may have put your server hostname as the Host when you installed Joomla. The Host should be localhost. You also have to set up the user, the database, and add the user to the database in your cPanel MySQL section.
Reply With Quote
Reply

Bookmarks

Thread Tools

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 Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
problem not related to HG magzone Webhosting 0 08-05-2008 08:59 AM
Post your link - Casino Related kaeldaven Site Promotion 4 12-16-2007 03:03 AM
Issue using custom php.ini config file, can hostgator help to solve the issue ? jpck Shared Hosting Support 3 06-04-2007 01:29 PM

All times are GMT -6. The time now is 04:13 AM.