Jump to content

MySQL Connections problem


myjobisgop

Recommended Posts

I want to connect to MySQL in my script. To do this, I write the following code:

  
local dbConnectHost = "dbname="..DBName..";host="..DBHost..";port="..DBPort 
             
DB = dbConnect("mysql", dbConnectHost, DBUsername, DBPassword) 
  

Variables DBName, DBHost, DBPort, DBUsername, DBPassword have already defined in my code.

But when the script is run, the server crashes. What could be wrong?

Link to comment
  • 3 weeks later...

Are you sure that everything is fine packages-wise? I guess you've gotta install another libmysqliclient. If you're running debian/*buntu or any other deb-compatible Linux distro, just try installing each package in the zip (with dpkg -i file.deb) and see if it provides any positive result. Three packages are contained in the zip.

https://mega.co.nz/#!t98ymZ6a!YtQlpCIe1 ... q6KvEgtkew

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...