Results 1 to 9 of 9
  1. #1
    Join Date
    Apr 2006
    Posts
    136
    Plugin Contributions
    0

    help question can i access my other website database

    hello friend

    i have two website both run under diff. server

    site 1: www.example1.com - simple php website
    site 2:www.myzencart.com - zencart


    now i want to access simple php website database from my zencart
    (ultimately i want to install my database on site1 address)

    my both server support Curl.
    i am owner of both website (so i have all needed username password).

    so can anyone help me how can i do this?


    vishal.comp###################### is my email id.

    require urgent help from any one.

  2. #2
    Join Date
    Apr 2004
    Location
    UK
    Posts
    5,821
    Plugin Contributions
    2

    Default Re: can i access my other website database

    In PHPmyadmin, set that simple database can be accessed by IP
    of zencart.. then in zencart configs, instead of localhost, set
    the IP of simple, with corresponding mysql database user stuff
    etc.. this should work

  3. #3
    Join Date
    Apr 2006
    Posts
    136
    Plugin Contributions
    0

    Default Re: can i access my other website database

    i am not expert

    so can you tell me where i need to make chnage in my zencart config file


    ip 1: 72.22.69.79
    ip2: 72.22.69.153 (this is my zencart)


    ip1 : has
    database : test1
    username: xxxxxxx
    password: yyyyyyyy


    so can you tell me what should be my config file on this info.

    waiting for reply

  4. #4
    Join Date
    Apr 2004
    Location
    UK
    Posts
    5,821
    Plugin Contributions
    2

    Default Re: can i access my other website database

    In order to achieve, both zencart installs must be hosted on linux/apache
    server/s with CPanel/WHM installed.. if you don't have this configuration
    then regret cannot help further

  5. #5
    Join Date
    Apr 2006
    Posts
    136
    Plugin Contributions
    0

    Default Re: can i access my other website database

    my first website is simple php site (not zencart)

    second one is zencart


    and i have Vdeck as cpanel in both

    waiting for your reply

  6. #6
    Join Date
    Apr 2004
    Location
    UK
    Posts
    5,821
    Plugin Contributions
    2

    Default Re: can i access my other website database

    i have Vdeck as cpanel in both
    VDeck is NOT the same as CPanel/WHM..
    different set up entirely

  7. #7
    Join Date
    Apr 2006
    Posts
    136
    Plugin Contributions
    0

    Default Re: can i access my other website database

    i know vdeck is diff.

    but then what is problem?


    if you like i will post my phpinfo of both website

    thanks

  8. #8
    Join Date
    Dec 2005
    Location
    My Own Fluffy Place, Pangea
    Posts
    420
    Plugin Contributions
    0

    Default Re: can i access my other website database

    You don't need things to be hosted on Linux/Apache/CPanel, you only need MySQL with networking to access a DB server remotely and not have any firewalls blocking access from outside the local network that the server is on. It's usually on port 3306.

    For define('DB_SERVER', 'localhost'); it would be something like
    define('DB_SERVER', '123.233.233.111:3306');

    A lot of hosts don't support this for connection outside their private network for security reasons, you might have to contact your host to find out if they support it.
    Yeah! I'm small! I'm Fluffy! *Stick tongue out*

  9. #9
    Join Date
    Apr 2006
    Posts
    136
    Plugin Contributions
    0

    Default Re: can i access my other website database

    ok fully tigger

    i will try and let you know about latest from my side

    thanks

 

 

Similar Threads

  1. v150 Client Changed Password, Now Can't Access Database
    By Scully in forum General Questions
    Replies: 4
    Last Post: 9 Jul 2013, 04:53 PM
  2. Can't access database after moving to GoDaddy
    By daneh in forum General Questions
    Replies: 14
    Last Post: 29 Sep 2011, 04:57 AM
  3. Changed database password, now I can't access my site
    By dragoon09 in forum General Questions
    Replies: 3
    Last Post: 17 Jan 2011, 04:02 AM
  4. Can't access database PHPmyadmin
    By AvenueBeads in forum General Questions
    Replies: 2
    Last Post: 2 Sep 2010, 07:00 AM
  5. Help! Can't access my website!
    By mw4kids in forum General Questions
    Replies: 9
    Last Post: 11 May 2009, 07:23 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR