Jump to content

dbConnect ssl error


freudo

Recommended Posts

 'dbConnect' [SSL connection error: unknown error number]

Server: Debian Linux

local host = "127.0.0.1"
local username = "root"
local password = ""
local db = "any"

con = dbConnect("mysql", "dbname=" .. db .. ";host=" .. host, username, password, "share=1")
if con then
  outputDebugString("connected")
else
  outputDebugString("connected fail")
end

 

Link to comment

Disable SSL in your MYSQL configuration file.

Location :  /etc/mysql/my.cnf

1-Delete the *.pem certificate and key files in the MySQL data directory.

2-Start MySQL with SSL option turned off. This can be done by adding a line entry: ssl=0 in the my.cnf file.

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...