pizzipie
July 31st, 2008, 09:29 PM
I am using Ubuntu 8.04.
I have tried to connect to a mysql database with no success. Here is what I did.
1. Connect to existing database => MYSQL .. next
2. Connect using JDBC .. next
3. Name of database => pizzi_db
Server URL => mysql://localhost:3306
Port Number | 3306 | default: 3306
Mysql JDBC driver class => com.mysql.jdbc.Driver
Test class => The JDBC driver was loaded sucessfully ... next
4. User name => rick
Password => required ... next
5. Yes - Register database
Yes - Open the database for editing ... Finish
6. Name => pizzi_db or any other
ODF database ... save
7. Tables => rick
password => rick ... ok
THEN the Problem: Receive following message.
"The connection to data source pizzi_db could not be established. Must specify port after ':' in connection string"
I don't know what they are talking about; what connection string?
Can anyone help to solve this? Would greatly appreciate a solution since I am almost there (I hope).
Rick P
I have tried to connect to a mysql database with no success. Here is what I did.
1. Connect to existing database => MYSQL .. next
2. Connect using JDBC .. next
3. Name of database => pizzi_db
Server URL => mysql://localhost:3306
Port Number | 3306 | default: 3306
Mysql JDBC driver class => com.mysql.jdbc.Driver
Test class => The JDBC driver was loaded sucessfully ... next
4. User name => rick
Password => required ... next
5. Yes - Register database
Yes - Open the database for editing ... Finish
6. Name => pizzi_db or any other
ODF database ... save
7. Tables => rick
password => rick ... ok
THEN the Problem: Receive following message.
"The connection to data source pizzi_db could not be established. Must specify port after ':' in connection string"
I don't know what they are talking about; what connection string?
Can anyone help to solve this? Would greatly appreciate a solution since I am almost there (I hope).
Rick P