Thread: OMG AAHHH!!!!

    #1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2000
    Location
    Chicago, IL USA
    Posts
    48
    Rep Power
    18
    I'm so dumb, omg I feel so stupid. I just deleted my mysql.sock by accident. Help! what do I do? Can I generate another one? Do I have to reinstall mySQL? If so how do I backup my current database!?!? I didn't backup my system and I was playing around as root oops aahh god why me.
  2. #2
  3. No Profile Picture
    Robert_J_Sherman
    Guest
    Devshed Newbie (0 - 499 posts)
    If you have something like PHPmyAdmin you could easily backup your mysql database, assuming that removing the sock didn't physically kill mysql.

    Of course, if you're on windows, all your database data is stored in a "data" folder inside the mysql directory.. in affect, you wouldn't loose that data, so long as you haven't deleted those files.

    ------------------
    SnR Graphics,
    Low Cost Hosting and Web Development.
  4. #3
  5. Banned (not really)
    Devshed Supreme Being (6500+ posts)

    Join Date
    Dec 1999
    Location
    Brussels, Belgium
    Posts
    14,643
    Rep Power
    4492
    whether you're on unix or windows, the database information are just files on your system. copy those files someplace else, reinstal mysql, then copy the files back. i think that will work.

    or, see if you can get mysqldump to work, and dump each database into a text file, then reinstall.

    mysqldump -uuser -p database_name > database.txt

    hope that helps...

    ---John Holmes...

Similar Threads

  1. Omg Hellppp! Hd Error
    By harrycarrott in forum Computer Hardware
    Replies: 6
    Last Post: January 7th, 2004, 01:59 PM
  2. Change Keyword result display
    By AShain in forum PHP Development
    Replies: 16
    Last Post: January 6th, 2004, 03:20 PM
  3. Omg!!! Help!!
    By Conner5 in forum PHP Development
    Replies: 5
    Last Post: December 7th, 2003, 09:21 PM
  4. Email Address String Filter
    By psalzmann in forum PHP Development
    Replies: 6
    Last Post: October 1st, 2003, 01:16 PM
  5. OMG phpinfo() security:
    By -=-steve-=- in forum PHP Development
    Replies: 14
    Last Post: December 14th, 2001, 04:46 PM

IMN logo majestic logo threadwatch logo seochat tools logo