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!

mysql connection

Discussion in 'General Discussion' started by RedFoX, Feb 14, 2004.

  1. RedFoX

    RedFoX Registered

    Feb 14, 2004
    Likes Received:
    Trophy Points:
    Hi, sorry for my bad english, but i'm french.

    I have a little problem with the connexion to my databases in my PHP scripts.

    I've created a mysql user,...., and the connexion to mysql seems working well.
    But the problem is with the database selection. I've got an error with this code:

    $r  mysql_select_db('kteamorg_dbkteam',$db) or die ('false');
    kteamorg_dbkteam is the name of the mysql database (in phpmyadmin too), but the script return "false".

    Can someone help me?

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