Re: system requirements...

2001-11-24 Thread Nguyen Trong Phuc
we used to setup a linux system as a share internet connection server with 28 client. the configuration of server is : PII-233 128MB Ram 3.2GB HDD server is running RedHat Linux 7.1 with Squid as proxy ,MySQL, Java J2SDK 1.4, Jakarta-Tomcat for our web application. Best Regard ! Trong Phuc -

Re: java.sql.SQLException: Cannot connect to MySQL server on localhost:3306.

2001-11-18 Thread Nguyen Trong Phuc
port running by "nmap" (included in power tools disk of RedHat) $nmap localhost u will know what service with what port is running or : $ps -aux / $ps -e to know mysqld is running. good luck Trong Phuc - Original Message - From: "Prasad Valmeti" <[EMAIL PROTE

Re: hai

2001-11-17 Thread Nguyen Trong Phuc
Hi Valmeti ! it's general error, have too many reason. how about yr source code. maybe grant access, mm.mysql driver ... - Original Message - From: "Prasad Valmeti" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, 17 November, 2001 2:49 AM Subject: hai Hai All, I am using

Re: about MySQL

2001-11-17 Thread Nguyen Trong Phuc
hi Yang ! You have to control MySQL from command promt. MySQL dont have windows screen. r u using windows c:\[mysql dir]>mysqld -create table read mysql manual for more detail. --- Trong Phuc - Original Message - From: "Zhou Jiang Yang" <[EMAIL PROTECTED]> To: <[EM

Re: Can't stop mysql

2001-11-12 Thread Nguyen Trong Phuc
i don't use linuxconf. if u want to stop mysql, execute : /ect/init.d/mysql stop easiest :) Trong Phuc - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, November 12, 2001 9:27 AM Subject: Can't stop mysql > > > Howdy, > I'm running version 3.23.41 on R

Re: Accessing mysql database from a servlet

2001-11-12 Thread Nguyen Trong Phuc
is localhost :) u should test: try { yr sql query } catch (Exception e) { // not SQLException out.println(e.getMessage()); } to see what message from Exception. - Original Message - From: "Luigi Fonti" <[EMAIL PROTECTED]> To: "Nguyen Trong Phuc" <[EMA

Re: pass variable in JS to php and mysql-query

2001-11-12 Thread Nguyen Trong Phuc
i think that u can't, b/c php is server side while JS is client site. u can doSubmit() when building is changed, then php script get infomation and response to browser. Trong Phuc - Original Message - From: "Phieu Huynh" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Sunday, November

Re: Beginner SQL Question

2001-11-10 Thread Nguyen Trong Phuc
yeah, mysql is compatible for small business with small and simple database. We can use PostgreSQL for subselect query as a free SQL server, but it's too slow. - Before posting, please check: http://www.mysql.com/manual.php

Re: Beginner SQL Question

2001-11-10 Thread Nguyen Trong Phuc
in some case, we have to use some programming technique to resolve that problem, ex: we create a new Connection or new Statement (with one Connection) . we can have many statement. rs2 = stmt2.executeQuery("select unique filename, max(received_time) from file_updates group by orig_file_path"); whi

Re: Beginner SQL Question

2001-11-10 Thread Nguyen Trong Phuc
we can use subselect now with MySQL-Max version. - Original Message - From: "Steve Meyers" <[EMAIL PROTECTED]> To: "John Morton" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Saturday, November 10, 2001 8:13 AM Subject: Re: Beginner SQL Question > On Sat, 2001-11-10 at 05:53, John M

difference between MySQL version for linux & windows

2001-11-10 Thread Nguyen Trong Phuc
almost of all my application (Java with JDBC) use "select encrypt(password,salt)" to encrypt and store user's password. it work well in linux/unix. but i have just found that encrypt command does not work in windows version of MySQL. pls help me ! Thanks !