RE: mysql-mysqld connection

2005-05-03 Thread Reggie Burnett
Just to echo the thoughts from Jeremiah, we have several freely available
open source connectors that work *VERY HARD* tracking the protocol so it's
hard to understand a situation where you would need to write your own
implementation.

-Reggie

-Original Message-
From: Nikola Skoric [mailto:[EMAIL PROTECTED] 
Sent: Monday, May 02, 2005 10:30 AM
To: Jeremiah Gowdy; mysql@lists.mysql.com
Subject: Re: mysql-mysqld connection

Dana Sun, 1 May 2005 11:11:40 -0700, Jeremiah Gowdy rece:
  Where could I find speciffication of how MySQL client and server
  communicate?
/...
 
 Look at the source code of libmysql?

So, document regarding this protocol doesn't exist?

Hm, and, where could I find the source code of libmysql? I googled, but
failed to locate 
it. I'd be thrilled if you could help...

-- 
Znam, kaljavo ordenje na mom kaputu je...



-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



RE: mysql-mysqld connection

2005-05-03 Thread Nikola Skoric
Dana Tue, 3 May 2005 11:34:39 -0500, Reggie Burnett rece:
 Just to echo the thoughts from Jeremiah, we have several freely available
 open source connectors that work *VERY HARD* tracking the protocol so it's
 hard to understand a situation where you would need to write your own
 implementation.

My aim is not to write my own implementation but to understand how that 
comunication works
:-) And I did. Source code is very well documented, makes me think about my own 
code
documenting (which is nonexistent :-) )... thanks for help, anyway...

--
Znam, kaljavo ordenje na mom kaputu je...



--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



Re: mysql-mysqld connection

2005-05-03 Thread Eric Bergen
If you really really want it it's in the internals doc from the mysqldoc 
bk tree.

-Eric
Reggie Burnett wrote:
Just to echo the thoughts from Jeremiah, we have several freely available
open source connectors that work *VERY HARD* tracking the protocol so it's
hard to understand a situation where you would need to write your own
implementation.
-Reggie
-Original Message-
From: Nikola Skoric [mailto:[EMAIL PROTECTED] 
Sent: Monday, May 02, 2005 10:30 AM
To: Jeremiah Gowdy; mysql@lists.mysql.com
Subject: Re: mysql-mysqld connection

Dana Sun, 1 May 2005 11:11:40 -0700, Jeremiah Gowdy rece:
 

Where could I find speciffication of how MySQL client and server
communicate?
 

/...
 

Look at the source code of libmysql?
   

So, document regarding this protocol doesn't exist?
Hm, and, where could I find the source code of libmysql? I googled, but
failed to locate 
it. I'd be thrilled if you could help...

 


--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]


Re: mysql-mysqld connection

2005-05-02 Thread Nikola Skoric
Dana Sun, 1 May 2005 11:11:40 -0700, Jeremiah Gowdy rece:
  Where could I find speciffication of how MySQL client and server
  communicate?
/...

 Look at the source code of libmysql?

So, document regarding this protocol doesn't exist?

Hm, and, where could I find the source code of libmysql? I googled, but failed 
to locate
it. I'd be thrilled if you could help...

--
Znam, kaljavo ordenje na mom kaputu je...



--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



Re: mysql-mysqld connection

2005-05-02 Thread Jeremiah Gowdy
 Where could I find speciffication of how MySQL client and server
 communicate?
/...
Look at the source code of libmysql?

So, document regarding this protocol doesn't exist?
I didn't say that.  I don't know of such a document, but I have never heard 
of it.  However, since the protocol can change each time a new version is 
released (You can use a newer client to connect to an older server, but you 
cannot use an older client to connect to a newer server, typically), it 
really doesn't make sense to write your own implementation of the protocol 
when a freely available C implementation of that protocol exists and can be 
linked against and updated without changes to your code.

I have written many many programs linked against libmysql.  Updating to new 
versions of libmysql is fairly easy.  I can't see any benefit to trying to 
reverse engineer the protocol.  Perhaps your situation is different.

Hm, and, where could I find the source code of libmysql? I googled, but 
failed to locate
it. I'd be thrilled if you could help...
http://mysql.zawodny.com/Downloads/MySQL-4.1/mysql-4.1.11.tar.gz
Hope that helps. 

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]


Re: mysql-mysqld connection

2005-05-01 Thread Jeremiah Gowdy
Look at the source code of libmysql?
- Original Message - 
From: Nikola Skoric [EMAIL PROTECTED]
To: mysql@lists.mysql.com
Sent: Sunday, May 01, 2005 10:25 AM
Subject: mysql-mysqld connection

Where could I find speciffication of how MySQL client and server 
communicate? It seems to
me there are two ways of communicating - over UNIX socket and over TCP/IP 
connection. Lets
say I want to write my own MySQL client, where could I find info about what 
UNIX socket
is, and how do TCP packets have to look like if I want mysqld to understand 
them? Thanks.

--
Znam, kaljavo ordenje na mom kaputu je...

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]