Skip to content

mysql_connect_file problem #153

@WizardFtw

Description

@WizardFtw

Im trying to connect mysql server with mysql_connect_file function, but I having problems. When is starting, I receive this message on mysql log.

[plugins/mysql] mysql_connect_file: handle error: syntax error in connection file (line: "hostname = 127.0.0.1")

but mysql.ini look be fine...

hostname = 127.0.0.1
username = myusername
password = mypass
database = mydb
auto_reconnect = true
#multi_statements = false
#pool_size = 2
#server_port = 3306

This only happens when I use mysql_connect_file function, with mysql_connect not.

Is there a problem with the function or am I not using it properly?

Im sorry if my English drafting is shit, it's not my native language.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions