Search results

  1. N

    Connecting to MySQL database

    Problem solved. The website uses cookies and some of the database functions were set to refer to the cookies, which created a mess.
  2. N

    Connecting to MySQL database

    I'm using php 5.6: mysql_connect("localhost", "admin", "password") or die('Error connecting to mysql'); mysql_select_db("databse_name") or die(mysql_error());
  3. N

    Connecting to MySQL database

    It still can't connect. I checked the PHP MySql syntax and everything seems to be OK. The same script works on three other hosts. There muct be something strange in the PHP configuration.
  4. N

    Connecting to MySQL database

    What is the host for the database? I used "localhost" but if it's different it would explain the trouble I'm having connecting.
  5. N

    Connecting to MySQL database

    Yes to both. I used NetObjects Fusion 12 to create the website and am now suspicious that the problem is with their database connector. When I try connecting with my own php mysql statement it seems to connect fine. I will look into this later and report.
  6. N

    Connecting to MySQL database

    Yes.
  7. N

    Connecting to MySQL database

    The database connection user name is gsnevada_admin. The password is !qazxsw@ I get a simple message (generated by the sql connector): Unable to connect.
  8. N

    Connecting to MySQL database

    I checked everything, including the database password and it seems to be OK. Which username do you need? for the account or the database? The account is yolk100@gmx.com The database is gsnevada_admin
  9. N

    Connecting to MySQL database

    I uploaded my website but it doesn't work correctly. It uses a database, which I created, but my pages can't connect to the database. I have the database name, the user name and password and am using localhost as the host. Is there a different host definition?
Top