2014-06-25, 10:54 AM
Hi,
I am working with the a plugin extension written in java. In particular, the extension uses the following properties file:
I am having trouble identifying my hostname and port. I am using 000webhost.com as my host but I do not know the port number. Let me start by showing what I know:
MySQL Database: a7504178_Users
MySQL User: a7504178_Users
MySQL Password: *************
Within my host, I click on 'Enter phpMyAdmin' and it redirects me here: http://sql2.000webhost.com/phpMyAdmin/in...0-ToHDiXm5
Knowing this data, how do I establish a connection to this database using the MySQL command line tool?
Also, the properties file indicates it needs a 'UserInfo' table. I've already created that under my database, but I need 'UserInfo' to have/inherit the username and password fields that mybb_users uses...how might I achieve this relation?
-Joseph
I am working with the a plugin extension written in java. In particular, the extension uses the following properties file:
#
# Database Properties
#
# Database properties are the properties defined at
# http://commons.apache.org/dbcp/api-1.2.2/org/apache/commons/dbcp/BasicDataSource.html
database.driverClassName=com.mysql.jdbc.Driver
# Specify the url for MySQL, and a valid existing database (UserInfo)
database.url=jdbc:mysql://localhost:3306/UserInfo
# Specify a valid MySQL username and password.
# If the table has not yet been created, the MySQL user must
# have DDL privileges
database.username=YOUR_DB_USERNAME_HERE
database.password=YOUR_PASSWORD_HERE
# Adjust to fit your own project
database.maxActive=10
database.maxIdle=10
database.maxWait=1000
I am having trouble identifying my hostname and port. I am using 000webhost.com as my host but I do not know the port number. Let me start by showing what I know:
MySQL Database: a7504178_Users
MySQL User: a7504178_Users
MySQL Password: *************
Within my host, I click on 'Enter phpMyAdmin' and it redirects me here: http://sql2.000webhost.com/phpMyAdmin/in...0-ToHDiXm5
Knowing this data, how do I establish a connection to this database using the MySQL command line tool?
Also, the properties file indicates it needs a 'UserInfo' table. I've already created that under my database, but I need 'UserInfo' to have/inherit the username and password fields that mybb_users uses...how might I achieve this relation?
-Joseph