Hello and welcome to our community! Is this your first visit?
Register
Results 1 to 5 of 5

Thread: DB Help

  1. #1
    lucien is queen Hazzystan's Avatar

    Join Date
    Feb 2008
    Location
    Scotland
    Posts
    2,977

    DB Help

    I created a login/register system using databases not too long ago, and it seemed to be working fine until today: When I go to php-myadmin, my databases won't show up unless I add them into the url.
    (example: php-myadmin.com/index.php?db=example_database)

    Evidently, my login/register system doesn't work anymore. When I test out the login screen, it doesn't seem to connect to my database. And when I try to create a new database on php-myadmin I get this error:
    Code:
    #1044 - Access denied for user 'b7_2671230'@'%' to database 'admin'
    Help would be appreciated.
    what is homo love?

  2. #2
    Insanity Skype's Avatar



    Join Date
    Apr 2007
    Location
    England
    Posts
    27,397

    Re: DB Help

    Create a new support ticket at your vista panel, this happened to me once. I don't think there is anything you can do.

  3. #3
    lucien is queen Hazzystan's Avatar

    Join Date
    Feb 2008
    Location
    Scotland
    Posts
    2,977

    Re: DB Help

    Quote Originally Posted by Skype
    Create a new support ticket at your vista panel, this happened to me once. I don't think there is anything you can do.
    Can it be fixed, or do I have to get a new account?
    what is homo love?

  4. #4
    Insanity Skype's Avatar



    Join Date
    Apr 2007
    Location
    England
    Posts
    27,397

    Re: DB Help

    Nah, just delete that database and make a new one (in vista panel).

  5. #5
    lucien is queen Hazzystan's Avatar

    Join Date
    Feb 2008
    Location
    Scotland
    Posts
    2,977

    Re: DB Help

    Thanks Skype, that seems to have solved the problem,
    Can you leave this this thread open though? I have another problem :\
    I'm making an admin panel for my website, and I want to make a ban page, where the admin types the username of a member, hits submit, and the member is removed from the database.

    Code:
    $name=$_GET['ban'];
     $sql= "DELETE FROM members WHERE username='$name'";
      $delete=mysql_query($sql);
       echo $delete;
    I think I have the sql statement sorted out, but I'm just storing it in a variable: I don't know how to execute it, as "echo" Doesn't seem to work.


    Edit- Haha, it works now. Feel free to lock.
    what is homo love?


 

Posting Permissions

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