Wednesday, May 14, 2014

Koneksi Java dengan Database Mysql Online (db4free.net)

Advertisement

KONEKSI JAVA KE MYSQL ONLINE DI db4free.net


Assalamu'alaikum Wr. Wb.

Hy guys ketemu lagi degan ane Mr. Galaw, kali ini kita akan berlatih bagaimana membuat program kita konek dengan database online . Dengan DB online ini pastinya akan lebih aman karena DB nya ada di internet, beda kalo masih local tentunya masih bahaya (error aplikasi, SO, hardware, atau dibawa tikusss.. hehehe)...

oke gimana sih caranya supaya java koneksi ke db4free...
1. Anda harus daftar dulu dan buat database di db4free.net (tutorial cari aja di Om google banyak)
2. Lalu pastinya harus membuat Aplikasi program pake Java... (di sini membahas dalam konteks Java)
    jangan lupa tambahkan library MySQL JDBC Driver.
3. Setelah semuanya siap, maka untuk scrip koneksi di javanya supaya terhubung ke mysql di db4free, seperti ini:

try{
        Class.forName("com.mysql.jdbc.Driver");
        c =DriverManager.getConnection("jdbc:mysql://db4free.net/databaseirfan","fans1993","fans1993");
        }
        catch (Exception e)
        {
        System.err.println("Exception: "+e.getMessage());
        }

Penjelasan :
- Kita lihat potongan scrip "jdbc:mysql://db4free.net/databaseirfan","fans1993","fans1993"
- Nah untuk "db4free.net" itu merupakan hostname
- Lalu "databaseirfan" merupakan nama database yang udah dibuat di db4free
- "fans1993" merupakan username database di db4free
- "fans1993" merupakan password database di db4free

Nah Coba dehh...
Alhamdulillah Terhubung...
Lanjutkan projeck Anda..

Sekian postingan kali ini. Ma'af bila banyak salah dari postingannya. Ma'afin Mr. Galaw .. heehhe

Wassalamu'alaikum Wr. Wb.

Thursday, May 1, 2014

Hot new release electronics from Amazon

Advertisement

Hot new release electronics from Amazon


Electronics



Buy Game from Amazon.com

Advertisement

Buy Game from Amazon.com


Game





 ProductsPriceSales Rank game vampireVampire: The Masquerade: Bloodlines [Online Game Code] Activision
$19.99#883
in Video GamesStar Wars The Old Republic Cartel Coins DVG EA Games
$39.99
Transformers: Fall of Cybertron Activision
$9.00 - $69.57
Star Wars The Old Republic Cartel Coins DVG EA Games
$39.99
Prototype 2 
Activision Publishing
$7.49 - $1,175.12
Transformers: War for Cybertron [Download] Activision
$19.99
#694
in Video GamesSingularity [Download] Activision
$29.99
#926
in Video GamesAssassin's Creed III Ubisoft
$9.88 - $800.00
Child of Light [Online Game Code] Ubisoft
$14.99
#91
in Video GamesElder Scrolls V: Skyrim Bethesda
$12.99 - $499.95

Buy Camera and Photo from AMAZON.COM

Advertisement

Buy Camera and Photo from AMAZON.COM



Camera and Photo


 Products Price Sales Rank

 SanDisk UltraSanDisk Ultra 64GB microSDXC Class 10 / UHS-1 Memory Card Speed ​​Up To 30MB / s With Adapter, Frustration-Free Packaging- SDSDQU-AFFP-064G-A (Label May Change) 
SanDisk
$ 39.44

AmazonBasicAmazonBasics High-Speed ​​HDMI Cable (6.5 Feet / 2.0 Meters) - Supports Ethernet, 3D, and Audio Return [Newest Standard] 
AmazonBasics $ 5.99

SanDisk Ultra 32GBSanDisk Ultra 32GB MicroSDHC Class 10 / UHS-1 Memory Card Speed ​​Up To 30MB / s With Adapter, Frustration-Free Packaging- SDSDQU-AFFP-032G-A (Label May Change) 
SanDisk
$ 20.85
gopro hero3

GoPro HERO3 +: Black Edition
GoPro
$ 399.99
                    # 2
                    in Camera & Photo

transcend 32GBTranscend 32 GB Class 10 SDHC Flash Memory Card (TS32GSDHC10E) 
Transcend
$ 17.93


dropcam proPro Dropcam Wi-Fi Wireless Video Monitoring Camera 
Dropcam
$ 199.99
# 5
                          in Camera & Photo


sony nex-6L / B

Sony NEX-6L / B 16.1 MP Compact Interchangeable Lens Digital Camera with 16-50mm Power Zoom Lens and 3-Inch LED (Black) 
                    Sony
                    $ 524.99
                    # 4
                           in Camera & Photo

Ethernet cables support2-Pack AmazonBasics High-Speed ​​HDMI Cables Supports Ethernet, 3D and Audio Return, 6.5 feet 
AmazonBasics
$ 9.99

Sony 32GBSony 32GB SDHC Class 10 UHS-1 R40 Memory Card (SF32UY / TQMN) 
Sony
$ 18.99



transcend 32GB
Transcend MicroSDHC Class10 32GB UHS-1 Memory Card with Adapter 45 MB / s (TS32GUSDU1E)
Transcend
                    $ 19.99