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

Common issues #154

Open
thelindat opened this issue Nov 14, 2022 · 0 comments
Open

Common issues #154

thelindat opened this issue Nov 14, 2022 · 0 comments

Comments

@thelindat
Copy link
Member

thelindat commented Nov 14, 2022

Unable to establish a connection

This is an incredibly generic error, but generally speaking you should

  • ensure you have configured your mysql_connection_string correctly
  • ensure your database exists and is running
  • try using an alternate connection string or removing reserved characters ; , / ? : @ & = + $ #

No such export in resource oxmysql

The export you have called does not exist. This could be for a few reasons,

  • oxmysql has not yet started when you called the export
  • you are attempting to run oxmysql without building the source code or using a release build
  • you have simply called an invalid export

Download the latest release and ensure it is the first resource in your resource start order.

DECIMAL types are returned as a string

Enable the decimalNumbers setting to change this behaviour; however this may result in loss of precision.

Multiple statements cannot be executed in a single query

This option is disabled to prevent easy SQL injection (see https://forum.cfx.re/t/database-tables-are-deleted/4764756) due to poor practices (especially string concatenation and lack of sanitisation).

You can enable the option with multipleStatements, but we strongly suggest you don't.

AUTH_SWITCH_PLUGIN_ERROR (auth_gssapi_client)

See #213.

@thelindat thelindat pinned this issue Nov 14, 2022
@overextended overextended locked as resolved and limited conversation to collaborators Nov 14, 2022
@thelindat thelindat changed the title "No such export * in resource oxmysql" Common issues Aug 8, 2024
@overextended overextended unlocked this conversation Sep 30, 2024
@overextended overextended locked as spam and limited conversation to collaborators Nov 2, 2024
@overextended overextended deleted a comment from WEEZOOKARP Nov 2, 2024
@overextended overextended deleted a comment from lpaj8 Nov 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant