Skip to content

How To Open Connection to Azure Sql Database #117

@ziwa-msft

Description

@ziwa-msft

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions