Forums
This topic is locked
php + ultradev + mysql + linux
Posted 16 Aug 2001 18:09:37
1
has voted
16 Aug 2001 18:09:37 Keith Slater posted:
We're trying to get php and ultradev and mysql to work on linux. We got the JDBC drivers and it says to change the class file. Where is the classfile on linux. or do I need to just put it a certain directory? If anyone did this before can you tell me the steps you tookthanks
Keith Slater
Replies
Replied 22 Aug 2001 14:49:23
22 Aug 2001 14:49:23 Tim Green replied:
You don't need to install the JDBC drivers onto your Linux server at all.
Just use a direct connection to your MySQL Server and it will be fine.
Tim Green
Extension & PHP TalkZone Manager
<font size=1>-------------------------------------------
<i>Please read the Forum FAQ before posting
a question to this TalkZone.</i>
-------------------------------------------
www.UDzone.com : A dynamic Dreamweaver,
Ultradev and Fireworks site for developers
by developers.
-------------------------------------------</font id=size1>
Just use a direct connection to your MySQL Server and it will be fine.
Tim Green
Extension & PHP TalkZone Manager
<font size=1>-------------------------------------------
<i>Please read the Forum FAQ before posting
a question to this TalkZone.</i>
-------------------------------------------
www.UDzone.com : A dynamic Dreamweaver,
Ultradev and Fireworks site for developers
by developers.
-------------------------------------------</font id=size1>
Replied 17 Sep 2001 11:00:30
17 Sep 2001 11:00:30 Russell Marshall replied:
I am trying to acheive the same thing but due to my lack of knowledge of MySQL I am having a problem with the connection string.
Using help from my ISP I have now uploaded my database to my server and can make a connection to it using the driver on my local machine. I cannot however access it using the connection string to their server which means the site does not work online.
The following is the connection string they supplied.
Set Conn = Server.CreateObject("ADODB.Connection"
strConn = "Driver={MySQL}; DATABASE=usernamedb; UID=username; PASSWORD=secret"
Conn.Open strConn
Because UltrDev only has a sigle line text box I cannot enter 3 lines so I entered the string as follows which does not work.
Set Conn = Server.CreateObject("ADODB.Connection"strConn = "Driver={MySQL}; DATABASE=usernamedb; UID=username; PASSWORD=secret";Conn.Open strConn
I supect there is a syntax problem but as I know nothing about MySQL I do not know what the problem is.
If you can correct the string i will be grateful. Hopefully this will help both of us.
Using help from my ISP I have now uploaded my database to my server and can make a connection to it using the driver on my local machine. I cannot however access it using the connection string to their server which means the site does not work online.
The following is the connection string they supplied.
Set Conn = Server.CreateObject("ADODB.Connection"
strConn = "Driver={MySQL}; DATABASE=usernamedb; UID=username; PASSWORD=secret"
Conn.Open strConn
Because UltrDev only has a sigle line text box I cannot enter 3 lines so I entered the string as follows which does not work.
Set Conn = Server.CreateObject("ADODB.Connection"strConn = "Driver={MySQL}; DATABASE=usernamedb; UID=username; PASSWORD=secret";Conn.Open strConn
I supect there is a syntax problem but as I know nothing about MySQL I do not know what the problem is.
If you can correct the string i will be grateful. Hopefully this will help both of us.
Replied 17 Sep 2001 11:46:54
17 Sep 2001 11:46:54 Tim Green replied:
Davrus,
Please ensure that you read the FAQ (link in my sig), and make sure that you don't post the same question more than once to the list.
Tim Green
Extension & PHP TalkZone Manager
<font size=1>-------------------------------------------
<i>Please read the Forum FAQ before posting
a question to this TalkZone.</i>
-------------------------------------------
www.UDzone.com : A dynamic Dreamweaver,
Ultradev and Fireworks site for developers
by developers.
-------------------------------------------</font id=size1>
Please ensure that you read the FAQ (link in my sig), and make sure that you don't post the same question more than once to the list.
Tim Green
Extension & PHP TalkZone Manager
<font size=1>-------------------------------------------
<i>Please read the Forum FAQ before posting
a question to this TalkZone.</i>
-------------------------------------------
www.UDzone.com : A dynamic Dreamweaver,
Ultradev and Fireworks site for developers
by developers.
-------------------------------------------</font id=size1>