Re: Help with PHP to MySQL db connection

2004-09-29 Thread Wesley Furgiuele
This is really just a PHP question, I think. Are MySQL and Apache running on the same machine? What version of MySQL are you running? Typically, you need a PHP mysql_connect() call including the MySQL host, username, and password. You only list the host above. With a default installation of MySQ

RE: **[SPAM]** Help with PHP to MySQL db connection

2004-09-29 Thread Jay Blanchard
[snip] $dbhost = 'localhost'; [/snip] Try changing this to 127.0.0.1 -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

Help with PHP to MySQL db connection

2004-09-29 Thread Andrew Lietzow
Hola, MySQL wizards. I'm using LAMP on Fedora Core 2. Some kind soul produced a tutorial on the net and the first script, , I am trying to use yields an error in the browser of: < Couldn't connect to MySQL > Here is the script. --- Birthdays Create Database $dbho

Not Getting DB Connection

2004-06-05 Thread Scott D. Spiegler
Hi, I am using the following code but not getting a connection. :( Can someone tell me what I am doing incorrectly? Thanks, Scott package database_test; import java.sql.Connection; import java.sql.Statement; import java.sql.ResultSet; import java.sql.DriverManager; import java.sql.SQLException;

Re: Unable to Programatically Create DB Connection

2004-05-25 Thread William R. Mussatto
Scott D. Spiegler said: > I am trying to programatically connect to my DB, but I > am not sure what the connection string should be. I am > using this statement: > > conn = > > DriverManager.getConnection("jdbc:mysql://localhost/test?user=scott&password=cuatro"); > > I am getting this exception me

RE: Unable to Programatically Create DB Connection

2004-05-25 Thread Jan Goyvaerts \(jgoyvaer\)
("jdbc:mysql://localhost:3306/test","root","root"); return conn; } ... -Original Message- From: Scott D. Spiegler [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 25, 2004 6:37 PM To: [EMAIL PROTECTED] Subject: Unable to Progra

RE: Unable to Programatically Create DB Connection

2004-05-25 Thread James Drabb
-Original Message- From: Scott D. Spiegler [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 25, 2004 11:37 AM To: [EMAIL PROTECTED] Subject: Unable to Programatically Create DB Connection > I am trying to programatically connect to my DB, but I am not sure what > the connection string

R: Unable to Programatically Create DB Connection

2004-05-25 Thread Leonardo Francalanci
t; A: [EMAIL PROTECTED] > Oggetto: Unable to Programatically Create DB Connection > > > I am trying to programatically connect to my DB, but I > am not sure what the connection string should be. I am > using this statement: > > conn = > > DriverManager.getConnection

Unable to Programatically Create DB Connection

2004-05-25 Thread Scott D. Spiegler
I am trying to programatically connect to my DB, but I am not sure what the connection string should be. I am using this statement: conn = DriverManager.getConnection("jdbc:mysql://localhost/test?user=scott&password=cuatro"); I am getting this exception message: database_test.DBConnector S

AW: DB Connection

2004-04-01 Thread Freddie Sorensen
What is the connection type ? ODBC ? > -Ursprüngliche Nachricht- > Von: Shrikrishna Sathe [mailto:[EMAIL PROTECTED] > Gesendet: Mittwoch, 31. März 2004 12:53 > An: [EMAIL PROTECTED] > Betreff: DB Connection > > The following .asp code sinppet gives error. > &

DB Connection

2004-04-01 Thread Shrikrishna Sathe
The following .asp code sinppet gives error. Dim rs Set rs = Server.CreateObject("ADODB.Recordset") rs.Open "printjob",objConn, adOpenForwardOnly, adLockOptimistic , adCmdTable rs.AddNew rs("jobid") = Request.Form("jobno") rs("closesize") = Request.Form("closize"

RE: Unable to Create DB Connection

2003-09-10 Thread Scott D. Spiegler
Hi Dave, --- "Christensen, Dave" <[EMAIL PROTECTED]> wrote: > Did you set up a my.ini file in your Windows > directory? If so, what is in > the file? I found the problem about why I was not able to get my WinMySQLadmin tool to start the service. My my.ini contents are below this email the passwo

RE: Unable to Create DB Connection

2003-09-10 Thread Christensen, Dave
bject: RE: Unable to Create DB Connection Oh, right- I forgot to mention that. Part of the error message in trying to connect to the database said that it couldn't find the mysql.err file. I installed mySQL in C:\mysql but the error message from the DOS shell said it couldn't find the file: D

Re: Unable to Create DB Connection

2003-09-10 Thread Egor Egorov
"Scott D. Spiegler" <[EMAIL PROTECTED]> wrote: > > I am using the binary distribution of mySQL for > Windows-2000 and am not able to connect to the > DBserver. I used the Setup executable to install the > application. I verified that the my.ini file was > created and contained appropriate informat

RE: Unable to Create DB Connection

2003-09-09 Thread Scott D. Spiegler
directory. > This file will contain information that should help > you get started. > > > > -Original Message- > From: Scott D. Spiegler > [mailto:[EMAIL PROTECTED] > Sent: Tuesday, September 09, 2003 6:59 AM > To: [EMAIL PROTECTED] > Subject: Unable to

RE: Unable to Create DB Connection

2003-09-09 Thread Christensen, Dave
PROTECTED] Subject: Unable to Create DB Connection Hi, I am using the binary distribution of mySQL for Windows-2000 and am not able to connect to the DBserver. I used the Setup executable to install the application. I verified that the my.ini file was created and contained appropriate inform

Unable to Create DB Connection

2003-09-09 Thread Scott D. Spiegler
Hi, I am using the binary distribution of mySQL for Windows-2000 and am not able to connect to the DBserver. I used the Setup executable to install the application. I verified that the my.ini file was created and contained appropriate information. But, when I right-click with my mouse on the stop

RE: Unable to Create DB Connection

2003-09-08 Thread Matt
Well Scott, you're not done installing the Server yet. Go to the Doc sub_dir of your MySQL root dir. and brows the *manual_toc.html* file. You will find the info you need to get started there. Just a suggestion, don't use the winmysqladmin.exe GUI, or any other GUI tool for now, get used to the com

Unable to Create DB Connection

2003-09-08 Thread Scott D. Spiegler
Hi, I am using the binary distribution of mySQL for Windows-2000 and am not able to connect to the DBserver. I used the Setup executable to install the application. I verified that the my.ini file was created and contained appropriate information. But, when I right-click with my mouse on the stop

RE: db connection

2003-03-20 Thread Andrew
yes I just looked in the manual and this is really very easy almost as easy as php. Andrew >-Original Message- >From: Tan Siewling [mailto:[EMAIL PROTECTED] >Sent: 20 March 2003 08:20 >To: [EMAIL PROTECTED] >Subject: db connection > > > > >Hi, >I wo

db connection

2003-03-20 Thread Tan Siewling
Hi, I would like to know if I can write a method to connect to mysql through C++ using mysql++ such that everytime i want to execute a sql statement, i just have to call the method and input the sql statement.?? Pls help... thks __

db connection.

2001-07-03 Thread Rohan Manohar
Hi, What exactly are the steps to connect a machine to db in another machine(mysql configurations, perl-cgi as well as C APIs)? Are there any prerequisites? Is it possible to connect from a machine which does not have mysql installed in it? Kindly answer. Thanks, Rohan M ___

Re: help ... db connection to asp prog !

2001-05-23 Thread Colin Faber
You've also failed to provide enough information about your problem to allow someone to figure out what it may be. > Alice wrote: > > hi .. i am a new user to mysql, > i did install myODBC, but fail to create the db connection in the ODBC &g

help .. db connection to asp prog !

2001-05-23 Thread Alice Tan
hi .. i am a new user to mysql, i did install myODBC, but fail to create the db connection in the ODBC ... why it fail ??? /---\ Confidential and/ or privileged information may be contained in this e-mail and any

help ... db connection to asp prog !

2001-05-23 Thread Alice
hi .. i am a new user to mysql, i did install myODBC, but fail to create the db connection in the ODBC ... why it fail ???   /---\ Confidential and/ or privileged information may be contained in this e-mail and any

DSNless DB connection with MySQL/ASP

2001-03-28 Thread Nicolas Villatte
Is it possible to procede to a DSNless connection to a mySQL DB in ASP ? If so could anyone send me a example script ? Thank you. Nicolas Villatte IT Manager Creative Web Rue Kessels straat, 38 1030 Brussels Office Phone: +32 2