Posted by: Chyne on: November 3, 2009
Everytime when I access to mysql database that is installed in my laptop, I need to perform the following command in order to get the access:
sudo mysql -hlocalhost -ppassword
I feel frustrated and tedious to do that everytime when I need to access to the database. If I try it with the command ‘mysql’, I will [...]
Posted by: Chyne on: September 28, 2009
Today, I was being asked whether I know any methods on how to retrieve or reset Postgres password. Although we had done some research but the provided solutions are quite confusing and not giving detailed explanations. We just left the research aside and continue with our work but I still feel this is doable. The [...]
Posted by: Chyne on: September 6, 2009
Error message when performing a connection the postgreSQL database:
java.sql.SQLException: No suitable driver
at java.sql.DriverManager.getConnection(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at com.asip.servlet.ProcLogin.doPost(ProcLogin.java:73) // source code line that throws this error
Possible Root Causes & Solutions
The jdbc jar file is not yet added into the project.
Right click the project
Properties > Libraries > Add External JARs (Applicable for Eclipse)
Add the jar file (postgresql-x.x-xxx.xxx.jar)
Restart [...]
Posted by: Chyne on: August 31, 2009
Overview
- Structured collections of records or data.
Database Models
• Flat model – spreadsheet
• Hierarchical model – XML
• Relational model
Views
- Virtual or logical table
- Subset the data contained in a table
- Security purpose (limit expose)
Database Indexing
- Improves the speed of operations in a table
Transaction and Concurrency
- Interaction with a database management system.
- Series of commands (can consist of multiple SELECTs)
ACID
• Atomicity – Either the transaction must be completed [...]
Posted by: Chyne on: August 4, 2009
I’ve been playing around with the Bugzilla in order to understand how it works together with the system. I was being provided with the information about the flow of how to migrate the bug issues to the system but there are no detailed instructions on how to install Bugzilla. Although the main point is not [...]