there's something I'm doing wrong. What is it?
Code: Select all
<?lc
put revdb_connect("mysql", "localhost", "DBName", "DBUser", "DBPassword")
?>
Code: Select all
Function: error in function handler (revdb_connect)
I don't get any return values from the function, and "the result" is empty.
I have the correct values in place - in fact, values that work flawlessly when called on desktop.
I have tried both "localhost" and "myDomain.com".
I have tried w/o the spaces after the commata. And anything else that came to mind.
The DB allows to connect to from everywhere.
And the CGI does work with all kind of other requests.
Any ideas? Thx & have fun!
Edit & PS: I'm using LC Server 8.1/ 8.2dp2 64bit, as CGI, on Ubuntu Server 20.04