Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Need help configuring mysql & Oscommerce

Discussion in 'Database Discussion' started by krobinsonmedia, May 25, 2008.

  1. krobinsonmedia

    krobinsonmedia Registered

    Joined:
    May 19, 2008
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    51
    new Installation of oscommerce can't connect to msql_connect I've read a lot of threads,



    Warning: mysql_connect() [function.mysql-connect]: Unknown MySQL server host '[% 127.0.0.1 %]' (1) in /home/annxxpimarie/public_html/osc/includes/functions/database.php on line 19
    Unable to connect to database server!

    thanks in advance.
     
  2. thewebhosting

    thewebhosting Well-Known Member

    Joined:
    May 9, 2008
    Messages:
    1,201
    Likes Received:
    1
    Trophy Points:
    68
    Try to connect using 'localhost' as MySQL server host.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. nate_nolting

    nate_nolting Member

    Joined:
    Jan 16, 2008
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    51
    Location:
    Bemidji, MN
    I'm having the same issue installing a fresh copy from the oscommerce site. I'm running textpattern on the same domain but it doesn't like to play with osc.

    so i installed the cart on shop.mydomain.com and in the installation it does not like connecting to localhost (access denied).
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice