Tank you...

2007/4/18, Luciano Resende <[EMAIL PROTECTED]>:

The ConnectionProperties as defined in config.xsd expect a field
"userName"

<xsd:complexType name="ConnectionProperties">
      <xsd:attribute name="driverClass" type="xsd:string"/>
      <xsd:attribute name="databaseURL" type="xsd:string"/>
      <xsd:attribute name="userName" type="xsd:string" default=""/>
      <xsd:attribute name="password" type="xsd:string" default=""/>
      <xsd:attribute name="loginTimeout" type="xsd:int" default="0"/>
   </xsd:complexType>

Could you please try that and let me know if it works for you ?

Also, if you have any issues connecting with MySQL, I have a post [1] with
some specific information on configuring DAS and MySQP together.

[1]

http://lresende.blogspot.com/2006/11/configuring-mysql-datasource-in-tomcat.html

On 4/18/07, Paulo Henrique Trecenti <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I'm try using DAS and I want connect with MySQL without an Datasource
and
> the config file dosn't have a config for "UserName" and "Passowrd" when
I
> try use this
>
> <ConnectionInfo>
>         <ConnectionProperties
> -->        user="database"
> -->        password="database"
>             driverClass="com.mysql.jdbc.jdbc2.optional.MysqlDataSource"
>             databaseURL="jdbc:mysql://localhost:3306/database"
>             loginTimeout="600000"/>
>     </ConnectionInfo>
>
> the ConfigUtil dosn't read that.
> I just can used that, setting the "UserName" and "Password" in the code.
>
> --
> Paulo Henrique Trecenti
>



--
Luciano Resende
http://people.apache.org/~lresende




--
Paulo Henrique Trecenti

Reply via email to