New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Database Driver Issues #157
Comments
Have you build Gammu for Windows yourself? |
Probably the db driver is not compiled in, what is output of |
Thanks For the answer. I use Gammu For Windows, the one downloadable on the website.
Backend services :
Thanks Again |
You have to install the MySQL ODBC driver and change the driver to obdc, then this build should work with MySQL on Windows. Your other option is to build gammu yourself with the appropriate mysql driver. |
I saw that building gammu is with Cmake, but how to build it with a mysql driver ?
Excuse me for responding very late it's because i didn't have satisfying results in my settings and i was hesitating about "bothering" you again... Sorry again |
First of all, I assume that you are using Visual Studio to build gammu on Windows. Open the Developer Command Prompt (Start menu, Visual Studio, Tools). You got 2 options:
ODBC support comes with Visual Studio and is present in your current build. The connector should work fine but needs to be separately installed (like an addon for mysql so that the server speaks this protocol).
Sadly, the lib depends on the dll. So you have to make sure, that the dll is within your PATH. I hope that helps. |
Hi Everybody , i'm using the huawei ec156 for gammu. I have configured gammurc and gammu --identify is working . I've installed gammuSMSD too .
But :
Log filename is smsdlog
"gammu-smsd[7236]: Unknown DB Driver
Failed to read config: Unknown error."
Here is my smsdrc configuration :
[smsd]
service = sql
PIN = 1234
logfile = smsdlog
debuglevel = 0
user = root
password =
pc = localhost
database = degloubin
driver = native_mysql
I'm using windows and mysql.
I wanted to know where are the problems.
Thanks !
The text was updated successfully, but these errors were encountered: