Rank: Advanced Member
Groups: Member
Joined: 4/21/2006(UTC) Posts: 31 Location: manila, philippines
|
I'd like to put up a new site where the database is hosted in another server and the CMS (Joomla to be specific) on my script configuration, how would i put the connection then? Would it be host = "12.345.67.89"; username = "mydbuser"; password = "XXXXX"; db_name = "db_name"; or host = "12.345.67.89:3306"; username = "mydbuser"; password = "XXXXX"; db_name = "db_name"; Well, I tried both but neither worked! I was told in another forum that I should allow other IP to connect (through firewall setup in cpanel) but we are using helm for our windows hosting accounts.
mike http://privateshelter.com/scaredcrow --my blog
|
|
|
|
Rank: Administration
Groups: Administration, Member Joined: 1/3/2006(UTC) Posts: 348 Was thanked: 1 time(s) in 1 post(s)
|
You can do this if the remote server allow remote connections.
Check that with your other host... |
Noman Dormosh
HostingFest |
|
|
|
Rank: Advanced Member
Groups: Member
Joined: 4/21/2006(UTC) Posts: 31 Location: manila, philippines
|
umnn... actually, i host both with hostingfest. one is windows hosting, the other is a linux hosting. :)
Pardon me, I should have asked you this through a ticket.
|
|
|
|
Rank: Administration
Groups: Administration, Member Joined: 12/29/2005(UTC) Posts: 275
|
Are you trying to access windows db or linux db?
BTW the ips are wrong.
Please open a ticket.
|
|
|
|
Rank: Advanced Member
Groups: Member
Joined: 4/21/2006(UTC) Posts: 31 Location: manila, philippines
|
Thanks Guys! After the changes you made, I can now connect to the database. However, there's a new problem encounted as below Quote:SQL=The used table type doesn\'t support FULLTEXT indexes SQL=CREATE TABLE IF NOT EXISTS `jos_downloads_files` ( I was told it has something to do with the Joomla problem on MySQL 5 strict mode. So I guess that's something I have to fix with Joomla, then. thanks for your help, guys!
|
|
|
|
Rank: Administration
Groups: Administration, Member Joined: 12/29/2005(UTC) Posts: 275
|
We are not running MySQL 5 on any server, though it is planned
|
|
|
|
Rank: Newbie
Groups: Member
Joined: 1/10/2007(UTC) Posts: 8 Location: torquay
|
On this question, I am looking to write an application in vb, which will use a mySQL database hosted with you guys (can be on either windows or linux as I have both, which would be best?). Can I easily set this up using the mySQL Grant command?
Thanks Paul
|
|
|
|
Rank: Administration
Groups: Administration, Member Joined: 1/3/2006(UTC) Posts: 348 Was thanked: 1 time(s) in 1 post(s)
|
paulcarthy wrote:On this question, I am looking to write an application in vb, which will use a mySQL database hosted with you guys (can be on either windows or linux as I have both, which would be best?). Can I easily set this up using the mySQL Grant command?
Thanks Paul mySQL will work better on Linux OS |
Noman Dormosh
HostingFest |
|
|
|
Rank: Newbie
Groups: Member
Joined: 1/10/2007(UTC) Posts: 8 Location: torquay
|
I've just set up a new database on my linux account and added a user. In the hosts section it has access for %.%.%.%, does % mean a wildcard and therefore any IP/Machine can access the database? I'm trying to write an application, that can be ran on any machine (which is why I wont know the IP address of the connection) and for it to be able to read/write data. The user name and password will be securely stored in the compiled application. I'll be connecting via ODBC. Any help on this will be greatly appreciated as I have a customer very keen to get this project underway. Thanks :) Edited by user Wednesday, January 10, 2007 7:15:42 AM(UTC)
| Reason: Not specified
|
|
|
|
Rank: Newbie
Groups: Member
Joined: 1/10/2007(UTC) Posts: 8 Location: torquay
|
Any advise on the above please?
|
|
|
|
Rank: Administration
Groups: Administration, Member Joined: 12/29/2005(UTC) Posts: 275
|
Linux server does not allow remote mysql connections.
|
|
|
|
Rank: Newbie
Groups: Member
Joined: 1/10/2007(UTC) Posts: 8 Location: torquay
|
So my windows package will then? If it does, can I ask again how do i set this up?
|
|
|
|
Rank: Administration
Groups: Administration, Member Joined: 1/3/2006(UTC) Posts: 348 Was thanked: 1 time(s) in 1 post(s)
|
Yes, you can do it if you have a Windows Account.
Already we did reply to your ticket. |
Noman Dormosh
HostingFest |
|
|
|
Rank: Newbie
Groups: Member
Joined: 1/10/2007(UTC) Posts: 8 Location: torquay
|
I have been trying to connect for 4 days now and finally I have found he problem. My ISP (Tiscali) block port 3306 during what they term as 'peak times'.
Does anyone who has experience of writing an application to connect to a mySQL database use another port of have a recommendation around this?
Thanks Paul
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.
Important Information:
The HostingFest Forums uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close