MySQL errorno: 13

Discussion in 'MySQL' started by heyman12, Nov 3, 2008.

  1. #1
    Hi,
    I'm new to MySQL and any other SQL based systems, and now I can not create a database. I have done so in the past, but for some reason, webmin wont let me, and spits out errorno: 13, I have tried to do a PHP add using a script I threw together.
    I tried the MySQL admin tools, but they wont connect to my database, I get a 2003 error.
    I can not find any support topics on 13...

    Help?

    Thanks
     
    heyman12, Nov 3, 2008 IP
  2. Sir P

    Sir P Peon

    Messages:
    76
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #2
    hi there,

    the error you are getting is a connection error.

    What platform are you running MySQL on? Let me know and I'm sure I can help you further.
     
    Sir P, Nov 4, 2008 IP
  3. mwasif

    mwasif Active Member

    Messages:
    816
    Likes Received:
    23
    Best Answers:
    1
    Trophy Points:
    70
    #3
    It is "Permission denied" error.
     
    mwasif, Nov 4, 2008 IP
  4. Sir P

    Sir P Peon

    Messages:
    76
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Sir P, Nov 4, 2008 IP
  5. heyman12

    heyman12 Peon

    Messages:
    56
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    MySQL version 5.0.51, installed as a part of Ubuntu LAMP server.
    I know the 2003 error is a connection error, but the problem lies with this stupid Error 13, I cant create a database or anything even logged in as the root user.
     
    heyman12, Nov 4, 2008 IP
  6. Sir P

    Sir P Peon

    Messages:
    76
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Ah ubuntu ... i've had this with fresh installs of MySQL 5.. don't know how it happens but you need to change permissions on the data directory.

    Login to the server with SSH or Telnet or whatever and change permissions..

    If that still gives you errors try...

     
    Sir P, Nov 5, 2008 IP