1. We have moved from vBulletin to XenForo and you are viewing the site in the middle of the move. Though the functional aspect of everything is working fine, we are still working on other changes including the new design on Xenforo.
    Dismiss Notice

how to select binary_data (PHP - mysql)

Discussion in 'MySQL' started by r_amin, Jun 23, 2007.

  1. r_amin

    r_amin New Member

    PHP - mysql
    @mysql_select_db("binary_data") or die("Could not select binary_data database!");
    It returns =
    "Could not select binary_data database!"

    why? & How can I solve It?
  2. pradeep

    pradeep Team Leader

    Does any DB by that name exists?? If yes, try changing the name of the DB! Plus, try this code!

    @mysql_select_db("binary_data") or die("Could not select binary_data database! Err: ".mysql_error()); 
  3. r_amin

    r_amin New Member

    @mysql_connect("localhost", "root", "ro12p") or die("Could not connect to MySQL server!");
    it works. that mean datatabase already connected.

Share This Page