Forums / Installing on a Linux/Unix Server / can i access my other website database

can i access my other website database

Locked

Views: 2,771

Results 1 to 9 of 9
This thread is locked. New replies are disabled.
21 Nov 2006, 7:44 AM
#1
vr4indian avatar

vr4indian

Zen Follower

Join Date:
Apr 2006
Posts:
141
Plugin Contributions:
0

can i access my other website database

hello friend

i have two website both run under diff. server

site 1: https://www.example1.com - simple php website
site 2:https://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?

[email protected] is my email id.

require urgent help from any one.

21 Nov 2006, 7:49 AM
#2
misty avatar

misty

Inactive

Join Date:
Apr 2004
Location:
UK
Posts:
5,752
Plugin Contributions:
1

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

Dezina ZenCart Templates
Please do not PM for support queries..Post in forums..help others

21 Nov 2006, 10:24 AM
#3
vr4indian avatar

vr4indian

Zen Follower

Join Date:
Apr 2006
Posts:
141
Plugin Contributions:
0

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

21 Nov 2006, 10:39 AM
#4
misty avatar

misty

Inactive

Join Date:
Apr 2004
Location:
UK
Posts:
5,752
Plugin Contributions:
1

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

Dezina ZenCart Templates
Please do not PM for support queries..Post in forums..help others

21 Nov 2006, 11:37 AM
#5
vr4indian avatar

vr4indian

Zen Follower

Join Date:
Apr 2006
Posts:
141
Plugin Contributions:
0

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

21 Nov 2006, 11:48 AM
#6
misty avatar

misty

Inactive

Join Date:
Apr 2004
Location:
UK
Posts:
5,752
Plugin Contributions:
1

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 :no:

Dezina ZenCart Templates
Please do not PM for support queries..Post in forums..help others

21 Nov 2006, 1:03 PM
#7
vr4indian avatar

vr4indian

Zen Follower

Join Date:
Apr 2006
Posts:
141
Plugin Contributions:
0

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

24 Nov 2006, 5:53 PM
#8
fluffytigger avatar

fluffytigger

Zen Follower

Join Date:
Dec 2005
Location:
My Own Fluffy Place, Pangea
Posts:
377
Plugin Contributions:
0

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

25 Nov 2006, 5:58 AM
#9
vr4indian avatar

vr4indian

Zen Follower

Join Date:
Apr 2006
Posts:
141
Plugin Contributions:
0

Re: can i access my other website database

ok fully tigger

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

thanks