XAMPP to access MySQL web

Problems with the Windows version of XAMPP, questions, comments, and anything related.

XAMPP to access MySQL web

Postby M202A1 » 17. March 2013 20:17

Hi.
I would like to run XAMPP to access my MySQL database on the web host side.
For instance, I'm running WordPress via the local host but I want it to get the MySQL database online.

Thanks
XAMPP Version: 1.8.1
Windows 7 Home Premium 64-bit (6.1, Build 7601) Service Pack 1 (7601.win7sp1_gdr.130104-1431)
Alienware, M17xR4, Intel(R) Core(TM) i7-3610QM CPU @ 2.30GHz (8 CPUs), ~2.3GHz, AMD Radeon HD 7970M,
M202A1
 
Posts: 5
Joined: 13. March 2013 11:14
Location: London, England
XAMPP Version: 5.6.3
Operating System: MS Windows 7 HP SP1 64-bit

Re: XAMPP to access MySQL web

Postby Altrea » 17. March 2013 21:16

Hi M202A1,

no question in your thread so you don't have a problem!?
Simply do it. Maybe it works, maybe not. Many hoster deny access from outside.

best wishes,
Altrea
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 6745
Joined: 17. August 2009 13:05
XAMPP Version: 5.5.19
Operating System: W7Ux64

Re: XAMPP to access MySQL web

Postby M202A1 » 17. March 2013 21:59

Thank you for your reply.
What do i then put for the

/** MySQL hostname */
define('DB_HOST', 'localhost');

Cheers
XAMPP Version: 1.8.1
Windows 7 Home Premium 64-bit (6.1, Build 7601) Service Pack 1 (7601.win7sp1_gdr.130104-1431)
Alienware, M17xR4, Intel(R) Core(TM) i7-3610QM CPU @ 2.30GHz (8 CPUs), ~2.3GHz, AMD Radeon HD 7970M,
M202A1
 
Posts: 5
Joined: 13. March 2013 11:14
Location: London, England
XAMPP Version: 5.6.3
Operating System: MS Windows 7 HP SP1 64-bit

Re: XAMPP to access MySQL web

Postby Altrea » 17. March 2013 22:01

Hostname or IP address of the database server
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 6745
Joined: 17. August 2009 13:05
XAMPP Version: 5.5.19
Operating System: W7Ux64

Re: XAMPP to access MySQL web

Postby M202A1 » 17. March 2013 22:16

It appeared to work but worked very slow so I went back to local MySQL.
XAMPP Version: 1.8.1
Windows 7 Home Premium 64-bit (6.1, Build 7601) Service Pack 1 (7601.win7sp1_gdr.130104-1431)
Alienware, M17xR4, Intel(R) Core(TM) i7-3610QM CPU @ 2.30GHz (8 CPUs), ~2.3GHz, AMD Radeon HD 7970M,
M202A1
 
Posts: 5
Joined: 13. March 2013 11:14
Location: London, England
XAMPP Version: 5.6.3
Operating System: MS Windows 7 HP SP1 64-bit

Re: XAMPP to access MySQL web

Postby Altrea » 17. March 2013 22:28

M202A1 wrote:It appeared to work but worked very slow

surprising surprising :roll:
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 6745
Joined: 17. August 2009 13:05
XAMPP Version: 5.5.19
Operating System: W7Ux64


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 59 guests