Author |
Post |
|
#1 Tue Apr 26, 2011 07:26, 165 months ago.
|
Member
Registered: Apr 2011
Location: gaborone, Botswana
|
Operating system name and version: windows 7 and cygwin Version of smsd: 3.1.14 Smsd installed from: sources Name and model of a modem / phone: huwei Interface: usb
Hi, i am using apache and php on wampserver . When i use scripts on this forum for storing recieved messages from smstools3 into mysql database i get errors in cygwin sayin it does not recorgnise the mysql command. but i can run php and access local host in the web browser and can also use mysql command console. How can i integrate mysql this with cygwin? I tried adding the mysql.exe path to the windows system PATH but this did not help.
|
|
#2 Tue Apr 26, 2011 10:57, 165 months ago.
|
Administrator
Registered: May 2009
Location: Jyväskylä, Finland
|
After changing the path in windows, did you restart cygwin command prompt?
If the path still does not work, you could try to set it in the eventhandler, or call mysql directly with a complete path.
|
|
#3 Tue Apr 26, 2011 11:13, 165 months ago.
|
Member
Registered: Apr 2011
Location: gaborone, Botswana
Topic owner
|
Thanks. saw where i went wrong. entered the whole link to mysql.exe instead of just the path.
|