webguy22
Member
And avoid error message “WARNING: cannot start the portable MySql server…” when executing application.
Application does proceed but, as expected, when trying to use MySQL get “PHP Fatal error: Uncaught Error: Call to a member function query()”.
Connection can fail, for multiple reasons (conflict, user error, user messed with mysql folder, etc.). I would like to know if it’s not connected and, thereby, have my code use another process other than SQL.
I looked at the forum for possible solutions such as an HESscript, global variable, etc. No luck.
Application does proceed but, as expected, when trying to use MySQL get “PHP Fatal error: Uncaught Error: Call to a member function query()”.
Connection can fail, for multiple reasons (conflict, user error, user messed with mysql folder, etc.). I would like to know if it’s not connected and, thereby, have my code use another process other than SQL.
I looked at the forum for possible solutions such as an HESscript, global variable, etc. No luck.