Protecting database

Discussion in 'Databases' started by philb, Aug 12, 2010.

  1. #1
    I have a mysql database with two tables I set up myself.

    When I go into myphp admin there's another database which has I didn't set up, and someone is creating tables in there.

    My password is random characters and numbers but it looks like someone is getting in.

    How can I secure access to my database.

    I'm using php to access my database from my homemadepizza website

    Can anyone advise?

    Thanks

    Phil
     
    philb, Aug 12, 2010 IP
  2. stock_post

    stock_post Prominent Member

    Messages:
    5,213
    Likes Received:
    249
    Best Answers:
    0
    Trophy Points:
    310
    #2
    I think the other database you are talking about is created by php my Admin automatically.
    Please name the database and tables here so we can tell you the real story.
     
    stock_post, Aug 12, 2010 IP
  3. philb

    philb Peon

    Messages:
    61
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    It's the second time I've noticed tables being added to the 'test' database.

    Unfortunately I've emptied the tables but there was references to this site in one of the tables...

    http://www.arslandesign.com/
     
    philb, Aug 12, 2010 IP
  4. philb

    philb Peon

    Messages:
    61
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    I'm not sure what's going on now.

    This morning the 'test' database has been removed from phpmyadmin.

    The database I set up is still there with the two tables I've added and they're intact.

    I've enjoyed working and experimenting with php and mysql but this is kind of putting me off developing things further
     
    philb, Aug 13, 2010 IP
  5. alfa_375

    alfa_375 Active Member

    Messages:
    445
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    60
    #5
    Dont worry and move on. There is no big deal unless you have confidential data in it.
     
    alfa_375, Aug 13, 2010 IP
  6. borbole

    borbole Greenhorn

    Messages:
    22
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    11
    #6
    If I were you I would ask the host to check the logs so they can see what exactly is going on.
     
    borbole, Aug 13, 2010 IP
  7. philb

    philb Peon

    Messages:
    61
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Cheers guys, I'll move on like suggested and keep studying but I'll send the host an email just out of curiosity too.
     
    philb, Aug 13, 2010 IP
  8. Albertnicolie

    Albertnicolie Peon

    Messages:
    15
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Have you given your database access to anyone else? It may be someone else is trying to get access to your Data.
     
    Albertnicolie, Sep 1, 2010 IP