Announcement

Collapse
No announcement yet.

server name

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • server name

    hello
    im trying to learn from a free tutorial how to use DATABASE and MySQL and i have one problem so far :
    this is the link for what i need : http://www.tizag.com/mysqlTutorial/mysqlconnection.php

    what is the VB host/server name ?

    10x

  • #2
    Re: server name

    im writig this php code :
    <?php
    mysql_connect("localhost", "admin", "1admin") or die(mysql_error());
    echo "Connected to MySQL<br />";
    mysql_select_db("test") or die(mysql_error());
    echo "Connected to Database";
    ?>

    and i get this page :

    Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'rgajsgjb_danny '@'voda23.voda23.com' (using password: NO) in /home/rgajsgjb/public_html/test.php on line 4
    Access denied for user 'rgajsgjb_danny '@'voda23.voda23.com' (using password: NO)

    *im trying with password also and access is denied always

    any one know why is that ?

    10x

    Comment


    • #3
      Re: server name

      You need to actually create the database in cpanel.

      Register/Login Script
      Do you use a Password Protected Directory? Need a way to allow users to make their own account, try my .htaccess Login Script

      Comment

      Working...
      X