Jump to content

MagicianPT

Member
  • Posts

    1
  • Joined

  • Last visited

  • Feedback

    0%

About MagicianPT

Informations

  • Gender
    Male

Recent Profile Visitors

420 profile views

MagicianPT's Achievements

Apprentice

Apprentice (3/16)

  • Dedicated
  • Reacting Well
  • First Post
  • One Year In
  • Week One Done

Recent Badges

1

Reputation

  1. Hello, your code line os.execute need full path to mysql file. This is also common to happen on scripts in fbsd. Change this: os.execute('mysql '..pre..' --e='..string.format('%q',query)..' > '..fi) -- für MySQL51 to os.execute('/usr/local/bin/mysql '..pre..' --e='..string.format('%q',query)..' > '..fi) -- für MySQL51 it will work. Good 2015 to all. many edits.. -> rusty English.. eheh! EDIT2: You may also change: os.execute('mysql '..pre..' --e='..string.format('%q',query)..' > '..fi) -- für MySQL51 --os.execute('/usr/local/bin/mysql '..pre..' -e'..string.format('%q',query)..' > '..fi) -- für MySQL55 to --os.execute('mysql '..pre..' --e='..string.format('%q',query)..' > '..fi) -- für MySQL51 os.execute('/usr/local/bin/mysql '..pre..' -e'..string.format('%q',query)..' > '..fi) -- für MySQL55 If you're using mysql 5.5...
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.