6 messages in com.mysql.lists.javaRe: General Error: 81??? jdbc, mysql,...
FromSent OnAttachments
William Defoe02 Oct 1999 13:04 
Mark Matthews02 Oct 1999 16:21 
William Defoe02 Oct 1999 22:01 
William Defoe03 Oct 1999 12:38 
Mark Matthews03 Oct 1999 14:44 
William Defoe03 Oct 1999 22:58 
Subject:Re: General Error: 81??? jdbc, mysql, linuxppc
From:William Defoe (silv@yahoo.com)
Date:10/02/1999 10:01:27 PM
List:com.mysql.lists.java

I actually tried that line in multiple forms, and none of them worked, including the one you suggest. They all give:

SQLException: General Error: 81 SQLState: null VendorError: 0

Any other ideas?

Thanks,

William

--- Mark Matthews <mmat@worldserver.com> wrote:

Why are you connecting to port 80? That is the standard port for web servers. You most likely want to connect to port 3306, which is the standard port for MySQL (or leave the port off of your URL and MM.MySQL will use the standard port).

Connecting to a web server port will give the error you describe.

Therefore, your URL should look like

jdbc:mysql://localhost/test?user=nobody

-Mark

On Sat, 2 Oct 1999, William Defoe wrote:

Does anyone know what an SQLException: General Error:81 means? I have done google and deja searches to find this out to no avail. I am running mysql on LinuxPPC R5, and using the mm mysql jdbc driver, the latest version. It used to be working just fine, but then I installed Apache JServ and it hasn't been working since. The problems is the line:

Connection Conn =

DriverManager.getConnection("jdbc:mysql://localhost/test:80?user=nobody");

=====