Skip to content
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

How To Open Connection to Azure Sql Database #117

Open
ziwa-msft opened this issue Sep 27, 2019 · 0 comments
Open

How To Open Connection to Azure Sql Database #117

ziwa-msft opened this issue Sep 27, 2019 · 0 comments

Comments

@ziwa-msft
Copy link

Hi,

I have been trying something like this but it is not working:

require ("luasql.odbc")
-- create environment object
env =luasql.odbc()

-- connect to data source
con = assert (env:connect("DSN=myserver.database.windows.net;Database=master;User Id=name;Password=pw;"))

I just want to test luasql with any one of the drivers (mysql, odbc, etc.) Could you please share a pointer on this?

Thanks,
Mike

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant