Can not get MySQL to work from a System call

With this code I can get MySQL to launch but does not recognize it as a valid statement in my C# program. It just shows prints out its help file:
System("Mysql –h localhost –u me –password=pw < LoadDB.cmd");
Solved!
Go to Solution.

Hey erdc3,
It appears that the System() command has been replaced with the Process.Start() command in C#. Here's an MSDN resource page on that command: 
http://msdn.microsoft.com/en-us/library/aa326952(v=vs.71).aspx
I'd suggest trying that command. If you still have problems getting it to work, let us know!
Daniel E.
TestStand Product Support Engineer
National Instruments

Similar Messages

  • I have a pioneer 50 inch plasma   I purchased new from the company back in 2005.   I tried to hook up an Apple Tv to the pioneer receiver that came with the TV.   I can not get it to work.   The receiver has two HDMI  inputs in the back.

    I have a pioneer 50 inch plasma + I purchased new from the company back in 2005.   I tried to hook up an Apple Tv to the pioneer receiver that came with the TV.   I can not get it to work.
    The receiver has two HDMI  inputs in the back.  However they say they are not for PC's.  Furthermore they must be set up by going to the home menu.    I tried everything, but I can not get the receiver to talk to the Apple TV. I even tried a connector that uses an HDMI to the Apple TV that has the other side of the cable as 5 RCA cables.  I could not get the receiver to see the Apple TV.   I have a newer TV in the house, it has no problem talking with the Apple TV.  But this older system seems to be handicapped in its ability to talk with the newer Apple TV system.
    My Email is [email protected] 
    Do you have any suggestions
    Thanks
    Bob

    I could not access the Apple TV on the television.   If I put the Apple TV directly into by TV, I have an external sound system (entertainment system), therefore I worry that I would by pass the audio.
    Thanks for taking your time to attempt to help!   Any more suggestions would be greatly appreciated.
    Bob

  • No Mail. I can not get or send mail from my iPhone,iCloud, or mail  on the desktop. Password is correct i can get into iCloud but not able to get mail.

    I can not get or send mail from my iPhone, iCloud, and desktop mail.  All are the same account, password is right and working. When the problem first happened I updated to a new  password.
    The Mail and the phone are telling me ( "The iCloud IMAP server “p99-imap.mail.me.com” rejected the password for user “k****n******2”}
    From the iCloud account i get a message saying  mail could not be loaded and the details. Which i have copyed below.
    Any thoughts or anyone I can ring ? This was a paid for mobile me account.
    Thanks
    Running 10.72
    ORIGIN
    server
    TYPE
    error
    BUILDNUMBER
    1FCS29.34215
    TIME
    Sun Dec 11 2011 10:49:50 GMT+0000 (GMT)        (1323600590380)
    HOST
    www.icloud.com
    USERAGENT
    Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_2) AppleWebKit/534.52.7 (KHTML, like Gecko) Version/5.1.2 Safari/534.52.7
    PRSID
    217870346
    RECENTLOGMESSAGES
    Sun, 11 Dec 2011 10:49:22 GMT:  DEBUG: MAIL in main()
    Sun, 11 Dec 2011 10:49:22 GMT:  DEBUG: -->  Request 1:   POST to https://p99-mailws.icloud.com:443/wm/preference,  headers: Content-Type=text/plain,  body: (omitted)
    Sun, 11 Dec 2011 10:49:22 GMT:  DEBUG: Request out: /wm/preference-list-->1323600562085/1
              params: {"locale":"en-us","timeZone":"Europe/Dublin"}
    Sun, 11 Dec 2011 10:49:22 GMT:  DEBUG: SC.Object:sc1074:dispatch('load content')
    Sun, 11 Dec 2011 10:49:22 GMT:  DEBUG: "2.0 Waiting for Content" handled event 'load content' (no transition)
    Sun, 11 Dec 2011 10:49:22 GMT:  DEBUG: SC.Module: Attempting to load 'addresses'
    Sun, 11 Dec 2011 10:49:22 GMT:  DEBUG: SC.Module: Module 'addresses' is not loaded, loading now.
    Sun, 11 Dec 2011 10:49:22 GMT:  DEBUG: SC.Module: Loading JavaScript file in 'addresses' -> '/applications/mail/frameworks/addresses/en-us/1FCS29/javascript.js'
    Sun, 11 Dec 2011 10:49:22 GMT:  DEBUG: SC.Object:sc3099:initStatechart()
    Sun, 11 Dec 2011 10:49:22 GMT:  DEBUG: -> entering "9 Address List Not Visible"
    Sun, 11 Dec 2011 10:49:22 GMT:  DEBUG: -->  Request 2:   GET to https://p03-contactsws.icloud.com:443/co/addressbook/?order=first,last&locale=en _US,  headers: Content-Type=text/plain,  body: (omitted)
    Sun, 11 Dec 2011 10:49:22 GMT:  DEBUG: SC.Module: Module 'addresses' finished loading.
    Sun, 11 Dec 2011 10:49:22 GMT:  DEBUG: SC.Module: Evaluating and invoking callbacks for 'addresses'.
    Sun, 11 Dec 2011 10:49:22 GMT:  DEBUG: SC.Module: Module 'addresses' has completed loading, invoking callbacks.
    Sun, 11 Dec 2011 10:49:22 GMT:  DEBUG: APPLICATION: Received applicationWillBecomeActive
    Sun, 11 Dec 2011 10:49:23 GMT:  WARN:  APPLICATION: Received applicationDidBecomeActive
    Sun, 11 Dec 2011 10:49:23 GMT:  DEBUG: <--  Response 2:  200  (1257ms),  headers: Cache-Control=no-cache, no-store, private, Content-Type=application/json; charset=UTF-8  body: (omitted)
    Sun, 11 Dec 2011 10:49:25 GMT:  DEBUG: willReceive: Status:500, Request:/wm/preference
    Sun, 11 Dec 2011 10:49:25 GMT:  DEBUG: Got HTTP 500 : Redirecting request: /wm/preference : Redirect count:1
    Sun, 11 Dec 2011 10:49:25 GMT:  DEBUG: -->  Request 3:   POST to https://p99-mailws.icloud.com:443/wm/preference,  headers: Content-Type=text/plain,  body: (omitted)
    Sun, 11 Dec 2011 10:49:25 GMT:  DEBUG: Request out: /wm/preference-list-->1323600562085/1
              params: {"locale":"en-us","timeZone":"Europe/Dublin"}
    Sun, 11 Dec 2011 10:49:29 GMT:  DEBUG: willReceive: Status:500, Request:/wm/preference
    Sun, 11 Dec 2011 10:49:29 GMT:  DEBUG: Got HTTP 500 : Redirecting request: /wm/preference : Redirect count:2
    Sun, 11 Dec 2011 10:49:29 GMT:  DEBUG: -->  Request 4:   POST to https://p99-mailws.icloud.com:443/wm/preference,  headers: Content-Type=text/plain,  body: (omitted)
    Sun, 11 Dec 2011 10:49:29 GMT:  DEBUG: Request out: /wm/preference-list-->1323600562085/1
              params: {"locale":"en-us","timeZone":"Europe/Dublin"}
    Sun, 11 Dec 2011 10:49:33 GMT:  DEBUG: willReceive: Status:500, Request:/wm/preference
    Sun, 11 Dec 2011 10:49:33 GMT:  DEBUG: Got HTTP 500 : Redirecting request: /wm/preference : Redirect count:3
    Sun, 11 Dec 2011 10:49:33 GMT:  DEBUG: -->  Request 5:   POST to https://p99-mailws.icloud.com:443/wm/preference,  headers: Content-Type=text/plain,  body: (omitted)
    Sun, 11 Dec 2011 10:49:33 GMT:  DEBUG: Request out: /wm/preference-list-->1323600562085/1
              params: {"locale":"en-us","timeZone":"Europe/Dublin"}
    Sun, 11 Dec 2011 10:49:37 GMT:  DEBUG: willReceive: Status:500, Request:/wm/preference
    Sun, 11 Dec 2011 10:49:37 GMT:  DEBUG: Got HTTP 500 : Redirecting request: /wm/preference : Redirect count:4
    Sun, 11 Dec 2011 10:49:37 GMT:  DEBUG: -->  Request 6:   POST to https://p99-mailws.icloud.com:443/wm/preference,  headers: Content-Type=text/plain,  body: (omitted)
    Sun, 11 Dec 2011 10:49:37 GMT:  DEBUG: Request out: /wm/preference-list-->1323600562085/1
              params: {"locale":"en-us","timeZone":"Europe/Dublin"}
    Sun, 11 Dec 2011 10:49:40 GMT:  DEBUG: willReceive: Status:500, Request:/wm/preference
    Sun, 11 Dec 2011 10:49:40 GMT:  DEBUG: Got HTTP 500 : Redirecting request: /wm/preference : Redirect count:5
    Sun, 11 Dec 2011 10:49:40 GMT:  DEBUG: -->  Request 7:   POST to https://p99-mailws.icloud.com:443/wm/preference,  headers: Content-Type=text/plain,  body: (omitted)
    Sun, 11 Dec 2011 10:49:40 GMT:  DEBUG: Request out: /wm/preference-list-->1323600562085/1
              params: {"locale":"en-us","timeZone":"Europe/Dublin"}
    Sun, 11 Dec 2011 10:49:44 GMT:  DEBUG: willReceive: Status:500, Request:/wm/preference
    Sun, 11 Dec 2011 10:49:44 GMT:  DEBUG: <--  Response 7:  500  (4248ms),  headers: Content-Type=text/html  body: (empty)
    Sun, 11 Dec 2011 10:49:44 GMT:  DEBUG: Request in: /wm/preference-list-->1323600562085/1,500,4249ms
    Sun, 11 Dec 2011 10:49:44 GMT:  DEBUG: ServerPreferencesDataSource.retrieveResponse error = -1/500/guid=serverPrefsGuid
    Sun, 11 Dec 2011 10:49:44 GMT:  ERROR: CoreMail handled error 13002 before exiting Mail

    Spent at least 40 min talking to apple support, to sort it out. luckly not at my cost. After trying lots of things and speaking to a higher grade support person I was given a temp password which did the trick. I then was able to reset that with my own password. 
    The impression i got was no one knowns  what the problem is and resetting the password at the apple end works. Not sure if you would be able to self fix.

  • I can not get an audio stream from any TV channel on ipad

    I can not get an audio stream from any TV channel on my ipad ,please help me fix this problem

    Muneer-
    What App are you using to get the audio stream?  Safari should work unless Flash is involved.
    I have used the free NPR App to listen to radio stations, but I don't know if it works with TV stations.
    Fred

  • HT1203 i have tried this 6+ times to "How to share music between different accounts on a single computer" on my wifes mac and can not get it to work!! On my PC no problem but on the MAC it will not work, follow the instructions to the T but no go????

    i have tried this 6+ times to "How to share music between different accounts on a single computer" on my wifes mac and can not get it to work!! On my PC no problem but on the MAC it will not work, follow the instructions to the T but no go????

    It is almost as if the program does not exist on my computer. If I search for it, the only thing that comes up is the installer. I cannot find it anywhere despite the fact I have installed it numerous times, uninstalled it and conducted a fresh install, and the Adobe website checks says that it is installed.

  • I just bought the BDP-S1500 yesterday and can not get it to work via wireless

    I just bought the BDP-S1500 yesterday and can not get it to work via wireless????

    Hi BigDaddy317,
    Please the link below for further assistance in connecting your wireless device to the internet.
    https://us.en.kb.sony.com/app/answers/detail/a_id/33377/p/47329,47564,95482/c/65,66/kw/internet
    https://us.en.kb.sony.com/app/answers/detail/a_id/35983/p/47329%2C47564%2C95482/c/65%2C66/kw/internet
    Please let us know if you're getting the same result or the error messages that you see.
    Thanks,
    >Joffrey
    If my post answers your question, please mark it as "Accept as Solution"

  • Still can not get songs to delete from library.....

    I have read through the forums..made sure to try every option available..still I can not get songs to delete from library. Help!!

    I am assuming you have tried all the obvious ones, delete key, right-click -> delete, Edit -> Delete, etc. Are you getting an error message when you try to delete? Are you just trying to delete from the library or delete the file as well?

  • About a year ago we purchased a used macbook pro and can not get music to transfer from iPhones to mac

    about a year ago we purchased a used macbook pro and can not get music to transfer from iPhones to mac

    how can i get All music transferred? even non purchased

  • Pictures will load to the photostream just fine, i can see them on both my ipad and iphone, but they stoped uploading to my PC 10 days ago? I can not get any new pictures from my iphone to my PC, what can i do to fix this?

    Pictures will load to the photostream just fine, i can see them on both my ipad and iphone, but they stoped uploading to my PC 10 days ago? I can not get any new pictures from my iphone to my PC, what can i do to fix this?

    Sign out of the iCloud control panel and then back in.

  • My apple Id has been disabled. I have relogged on changed password and still can not get it to work on my Iphone

    My apple Id has been disabled. I have relogged on changed password and still can not get it to work on my Iphone

    Contact itunes support.  Click Contact Us at the bottom of this page.

  • HT4108 I have a hdmi connector and can not get a picture to come on my tv. Need help also bought the RCA cables and can not get it to work with my iPhone 4 g

    I have a hdmi dock connector and can not get  it to show on my tv. It's a iPhone 4g please help also have a RCA cable to and can not get it to work either

    With what apps?  Not all apps require video output.

  • Can not get message to work om iPad, Can not get message to work om iPad

    Can not get message to work on iPad

    Please be much more specific. What exactly happens when you try to send a message?

  • I can not get NETFLIX to work, does anyone have any suggestions.

    can not get NETFLIX to work, does anyone have any suggestions...
    I have downloaded and installed Silverlight..
    and uninstalled it and reinstalled it...
    I have called Microsoft and also called Netflix support..
    who advised me to call Microsoft.
    Microsoft advised to to call apple
    seriously?
    HELP!

    Have you tried a different web browser like Mozilla FireFox?
    Have you tried just restating your Mac?

  • I can not get reader to work on xp.

    I have installed the 9 on  Reader and can not get it to work. I installed Fixit to see and it does not work either. Is there a place on XP that needs to be checked or opened. This started after the the computer was attacked by virus and they got into the registry. Had this repaired and this is what makes me think  something is  not opened for readers to work. Any ideas out there.

    chuck59c wrote:
    I have installed the 9 on  Reader and can not get it to work. I installed Fixit to see and it does not work either. Is there a place on XP that needs to be checked or opened. This started after the the computer was attacked by virus and they got into the registry. Had this repaired and this is what makes me think  something is  not opened for readers to work. Any ideas out there.
    Sounds like your sytem didn't get repaired. I would take it back to the tech that worked on it.
    In the meantime, you haven't mentioned what happens when you try and get it to work so we have no syptoms to go on to help you. Plus, what is fixit?
    There is no place on XP that you need to do anything special to get Reader to work so again, sounds like your system is still hosed.

  • HT4528 just bought a ringtone app but can not get it to work

    just bought a ringtone app but can not get it to work, I can get to putting on my desktop but after that it wont tranfer to my "tones"
    Angela

    Contact the app developer for support.

Maybe you are looking for

  • How do I merge 2 iphoto libraries?

    I would like to merge my two libraries into one. One library is 93Gb and the other is 23Gb. I would like to keep masters and previews of both libraries and the albums and folders I have created.

  • XSLT, Call transformation,  Character Set

    Hi Using call transformation (XSLT scheme) to convert XML file to html the problem is that When HTML displayed in sap, - name 'Søren Fjællegård' is displayed like 'S#ren Fj#lleg#rd' What to do ? Any ideas  to handle  special character sets

  • Another user-modified table '' (NNM1) (ODBC -2039)  [Message 131-183]

    Hi All, I am trying to create a new numbering series in SAB B1 2007 B PL 14 and facing with this error: Another user-modified table '' (NNM1) (ODBC -2039)  [Message 131-183] I would really appreciate your advise since new numbering series is not gett

  • Asset created system giving a gap of 10 number  in Asset number

    Hi Asset Gurus, I have stuck in a unique problem where normally asset numbers are sequentially increasing, but recently it has skipped 20 number and now its providing asset number after 20 numbers for example last asset created 1050 the next time whe

  • Gksudo equivilent

    We have an oracle DBA that needs a GUI to install any Oracle products. On other Linux flavors, they can run "gksudo" to become the oracle user, and install the software. We need a way to accomplish this on Oracle Linux. It is against our security pol