Re: Problems installing Scarab
Russell E Glaue <[email protected]>
| Newsgroups | gmane.comp.java.scarab.user |
|---|---|
| Message-ID | <[email protected]> |
What version of mysql are you using?
Your JDBC URL is probably not correct.
By default, MySQL listens on port 3306.
And your database is not correct, it should probably be 'scarab' and not '?'.
I do not think you can name a mysql database starting with '?'.
The error you receive is a failure in connecting to a MySQL server.
Try with a different JDBC URL - you can test the URL before running ant
If your new JDBC URL is jdbc:mysql://localhost:3306/scarab
Then test like this:
-
you% telnet localhost 3306
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
A
4.1.22-standard-logBe$wQnVE7#,?0G}^Bly>d`3{5^]
telnet>
-
You should see the MySQL Name ('.1.22-standard-log' in this example) in the
output once telneting to the port.
If you need more help with MySQL, check out the MySQL users mail list at
http://lists.mysql.com/
And the MySQL Developer Zone: http://dev.mysql.com
-RG
Walker, Marcus wrote:
> To Whom It May Concern:
>
>
>
> My name is Marcus Walker and am I attempting to set up an
> instance of scarab for my company as a possible tracking solution. I am
> running into some problems with the installation:
>
>
>
> The problem that I am having relates to the step involving creation of
> the database. I am using Ant and when attempting to build it (step 4.2
> in your instructions) there is no problem, it indicates that the build
> was successful.
>
>
>
> When going to the next step 5a, I run the command ant create-db which is
> where I have my problem:
>
>
>
> I have not made any special changes to the build.properties file (it is
> simply the minimal properties file with the exception of specifying the
> listener on port 8080). After running the command it appears that half
> of the build file involved with that command runs just fine until it
> gets to this portion:
>
>
>
> *Create-empty-db:*
>
> * *
>
> * [echo]*
>
> * [echo] Create empty database:*
>
> * [echo] driver : [org.gjt.mm.mysql.Driver]*
>
> * [echo] url :
> [jdbc:mysql://localhost:8080/?]*
>
> * [echo] userid : [root]*
>
> * [echo] password: []*
>
> * *
>
> It then comes up with this message
>
>
>
> *BUILD FAILED*
>
> *C:\SCARAB_HOME\build\build.xml:441: The following error occurred while
> executing this line:*
>
> *C:\SCARAB_HOME\target\scarab\WEB-INF\conf\build.xml:345:
> com.mysql.jdbc.CommunicationsException: Communications link failure due
> to underlying exception:*
>
> * *
>
> * *
>
> It then goes into some kind of something that says
>
>
>
> **BEGIN NESTED EXCEPTION**
>
>
>
> then eventually ends.
>
>
>
>
>
> I am using mysql and the scarab directory is located at C:\SCARAB_HOME.
> I have also made sure that I set all of the environment variable as you
> have indicated in the installation instructions. I appreciate any help
> that you have can give me. I have been trying to install this product
> for a while and I am just not getting something right. This is for
> evaluation purposes so security settings/passwords are not of any
> importance. Thank you.
>
>
>
> Marcus Walker
>
> Nortel Government Solutions
>
> Database Administrator
>
> (703) 653-2015
>
> [email protected] <mailto:[email protected]>
>
>
>
>
>
> Confidentiality Notice: This message and any attachments may contain
> information that is privileged and confidential. If you have reason to
> believe that you are not the intended recipient or a person responsible
> for delivering this message to an intended recipient, you are hereby
> notified that any review, dissemination, distribution, or copying of
> this message is strictly prohibited. If you have reason to believe that
> you are not the intended recipient or a person responsible for
> delivering this message to an intended recipient, please contact the
> sender immediately by reply email and destroy all copies of the original
> message.
>
>
>
>
>
>
>