Results 1 to 3 of 3

Thread: server name
      
   

  1. #1
    dannysheps@hotmail.com is offline Second Lieutenant
    Join Date
    Feb 2008
    Posts
    138

    Default 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. #2
    dannysheps@hotmail.com is offline Second Lieutenant
    Join Date
    Feb 2008
    Posts
    138

    Default 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

  3. #3
    Watdaflip's Avatar
    Watdaflip is offline Major General
    Join Date
    Sep 2005
    Location
    Cincinnati, Ohio
    Posts
    2,119

    Default 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

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49