Thursday, May 24, 2012

MATARA SIKI CABS.

SIKI CABS MATARA * DAY TO DAY HIRES * ROUND TOURS * RENT A CAR * WEDDING HIRE * AIR PORT DROPS CALLE 0413444444 or 0759444999... 
Hot line: 0413444444 
Aditinal Phone Number: 0759444999 
Fax Number: 0412264185 
Email: densin@slt.com.lk 
Address: Weluwanarama mw weraduwa Matara 

Friday, April 27, 2012

ARADHANA CABS

Aradana Cabs is providing taxi service in Sri Lanka. Please call us for more details. 
Hot line: 033 467 1671 
Aditinal Phone Number: 033 568 8688 
Address: 9, Ja-Ela Road, Gampaha 


http://www.lankataxi.info/Gampaha/aradhana-cabs/

Wednesday, April 18, 2012

ROYAL CABS...

 24 Hour Service/ Self Driven & Chauffrur Driven / Special Rates for Wedding Packages / Special Rates for Air-port Hire / Full Air-Conditioned of Comfortabel Cars & Van / All vehicle requested will be ... 
Hot line: 0112 - 602 602 
Aditinal Phone Number: 0722-602602 
Email: royalrentacar602@gmail.com 
Address: Kesbewa, Piliyandala. 
Rates: Per km Rs.29/= 



more info http://www.lankataxi.info/Piliyandala/royal-cabs/

Lanka Cabs...

Welcome to the Lanka cabs, the pioneer and market leader in cab services in Sri Lanka. Our Cab service is renowned for fast, cost-effective and reliable cab service. Whether you are looking for a se... 
Hot line: 0777221403 
Aditinal Phone Number: 0771117797 
Email: tmcrangajith@yahoo.com 

Tuesday, March 20, 2012

Lanka Taxi (Cab) Service Register - Sri Lanka

www.lankataxi.info
Lankataxi is your resource for finding taxi or Cab service companies and transfer services in Sri Lanka. We can add phone numbers to it. 

 

Thursday, March 1, 2012

JDBC to MS SQL Server Express


Connecting JDBC-based tools such as SQL Developer or DbVisualizer to SQL Server Express required the following steps:
  • Obtain JDBC Driver
  • TCP/IP for SQL Server Express
  • Authentication Method

Obtain JDBC Driver

Using SQL Developer, when you get the following exception …
Unable to find driver: net.sourceforge.jtds.jdbc.Driver
… download the jTDS JDBC driver and install it in your JRE's ext folder. The latest version of the driver is 1.2. Of course, there are other JDBC drivers for SQL Server you can use.

TCP/IP for SQL Server Express

By default, TCP/IP for SQL Server Express is disabled, so JDBC cannot connect to it and you may get the following exception …
Network error IOException: Connection refused: connect

Enable TCP/IP

To enable TCP/IP, start SQL Server Configuration Manager.
  1. Expand SQL Server 2005 Network Configuration node.
  2. In the right pane, select Protocols for SQLEXPRESS. The right pane should now show Protocols and Status columns.
  3. Select Enable from the TCP/IP context menu.

Find or Configure TCP/IP Port

After enabling TCP/IP, you have to find out which port number to use. SQL Server Express allocates a port dynamically each time it is started, so to find or configure the port number, continue using SQL Server Configuration Manager …
  1. Select Properties from the TCP/IP context menu. The TCP/IP Properties dialog should open.
  2. Select the IP Addresses tab.
  3. In the IPAll node …
    1. The TCP Dynamic Ports field shows the currently used port number. If you set that field to blank, then SQL Server Express should not automatically choose another port when it restarts.
    2. Set the desired port number in the TCP Port field.
    3. Press OK to apply your settings and close the dialog.

Test TCP/IP

If you change the TCP/IP port, you have to restart SQL Server Express before it can use the new port number. To test that your port number is used, start a cmd window and type: netstat -an. For instance, if you used port 1433, you should see this line in the list of ports used:
TCP    0.0.0.0:1433           0.0.0.0:0              LISTENING

Authentication Method

By default, SQL Server Express uses Windows Authentication Mode to authenticate connections. If you get this exception …
Login failed for user '<User name>'. The user is not associated with a trusted SQL Server connection.
… then you may have to enable SQL Server Authentication Mode and create or enable a user.
  1. Start Microsoft SQL Server Management Studio Express (SSMSE) and connect to your database server.
  2. In Object Explorer pane, select Properties from your database's context menu. The Server Properties dialog should open.
  3. Select Security page.
  4. Select SQL Server and Windows Authentication Mode check box.
  5. Press OK button to close the dialog.
  6. In Object Explorer pane, expand Security / Logins node.
  7. Select existing user sa. Note that there is a red downward arrow next to that user's image.
  8. View sa's properties. The Login Properties dialog should open.
  9. Select Status page.
  10. Ensure that the Login: Enabled radio button is selected.
  11. Select General page.
  12. Enter a password for this user.
  13. Press OK button to close the dialog.
  14. If you refresh the Object Explorer pane, note that user sa no longer has a red downward arrow.

Finally …

After all these steps, you should be able to connect to your SQL Server Express database using JDBC.

How to Migration to MySQL from other databases


Even I spent about 2 hours to export a Large MS Sql database table to my SQL database using many tools I couldn't.
With My SQL Migration Toolkit I was able to do this.    
The MySQL Migration Toolkit is a graphical tool provided by MySQL AB for migrating schema and data from various relational database systems to MySQL.
MySQL Migration Toolkit is designed to work with MySQL versions 5.0 and higher. You can download and get more info from http://dev.mysql.com/doc/migration-toolkit/en/mysql-migration-toolkit-introduction.html

You will find some problem with MS SQL Express. Please find my next blog for that.