You Now Here »

remote connection mysql database from another server hosting  (Read 6769 times)

tukangnanya

  • More Share Forum Topic
  • [MS] pendatang baru
  • *
  • tukangnanya kurang gaul.
  • Rep Power: 0
  • Join: July 03, 2011
  • Posts: 14
  • Poin: 5
  • IP member tracker Logged
remote connection mysql database from another server hosting
« on: November 22, 2011, 06:15:29 PM »


‎$host = "localhost";
$user = "svsisoco_user1";
$password = "3kits123";
$db = "svsisoco_svsiso";

$host = "himanirac.db.6581236.hostedresource.com";
$user = "himanirac";
$password = "Resetxyz123";
$db = "himanirac";

ini database konek sama 2 server.
masih bingung konekin 2 server.
jadi FILE ada di server a. database ada di server b.
gimana caranya ya :o
biar ada yg nge drop database di server A juga MASIH ada di server b
database selamet =))

bingung :-?

Quote
modif judul by admin
nanya akhhh. . soal konek konekan db


View Mobile Web Short URL:
« Last Edit: December 04, 2011, 01:37:04 AM by admin_danny »

DANNY

G-Plus Author
  • ADMINISTRATOR
  • More Share Forum Topic
  • [MS] kepala suku
  • *
  • DANNY sangat terkenal!DANNY sangat terkenal!DANNY sangat terkenal!DANNY sangat terkenal!DANNY sangat terkenal!DANNY sangat terkenal!
  • Rep Power: 6
  • Join: September 30, 2009
  • Posts: 11,931
  • Poin: 193.924
    • WWW
  • IP member tracker Logged
Re: nanya akhhh. . soal konek konekan db
« Reply #1 on: November 22, 2011, 06:24:18 PM »
nice share
:D

ane test dolo yah.... ntar ane kabarin kalo emank bisa
____________ :ngacir:

DANNY

G-Plus Author
  • ADMINISTRATOR
  • More Share Forum Topic
  • [MS] kepala suku
  • *
  • DANNY sangat terkenal!DANNY sangat terkenal!DANNY sangat terkenal!DANNY sangat terkenal!DANNY sangat terkenal!DANNY sangat terkenal!
  • Rep Power: 6
  • Join: September 30, 2009
  • Posts: 11,931
  • Poin: 193.924
    • WWW
  • IP member tracker Logged
Re: remote connection mysql database from another server hosting
« Reply #2 on: December 04, 2011, 01:39:41 AM »
UPDATE

:D
iya bisa sob, coba-coba terus gagal
dan ternyata harus disetting dulu dicpanel
berikut langkahnya:

- login cpanel
- pilih menu remote mysql
- add IP connection (IP modem, atau IP server lain untuk membuka akses koneksi database)
- finish

sekarang database bisa dipanggil dari mana aja, view input update delete
:beer:

tukangnanya

Re: remote connection mysql database from another server hosting
« Reply #3 on: December 24, 2011, 07:26:57 PM »
mantapp mastah tutornya
makasihh yaa