Home    FAQ   COU   Members List   Calendar   Search   


Go Back   Omgasl > Misc Forums > Web Hosting Support
User Name
Password
 
 
Thread Tools Search this Thread Display Modes
  #1  
Old 26-05-2004, 02:02 PM
jdp2234 jdp2234 is offline
jdp2234's Avatar
Mushroom
Join Date: Sep 2003
Posts: 25
Wanted MySQL

Hello!

pzc.ozclans.com

My whole site runs on the database, so I really need it before i upload it all, so i can set it up for it

If someone can tell me how i can remotly link up to my home db, im more then happy to use that one, except i dont have a domain, so it's hard for me to link it up.

ie.

$this->host = "localhost";
$this->db = "nottelling";
$this->user = "nottelling";
$this->pass = "nottelling";
$this->link = mysql_connect($this->host, $this->user, $this->pass);
mysql_select_db($this->db);
$result = mysql_query("SELECT * FROM nottelling", $this->link);

I wanna change this code so it links not to localhost but to my home pc, but If i can get a db here, then im more then happy to do so

Last edited by jdp2234 : 26-05-2004 at 02:07 PM.
  #2  
Old 26-05-2004, 05:16 PM
Lego Lego is offline
Lego's Avatar
Administrator
Join Date: May 2002
Location: Sydney
Posts: 5,552
Default

To your home PC? I guess that could be possible - just change the localhost to your IP address? Your database will have to allow connections from "yoursubdomain.ozclans.com"

I can also set up a database here on ozclans for you if you wish?
  #3  
Old 26-05-2004, 10:21 PM
jdp2234 jdp2234 is offline
jdp2234's Avatar
Mushroom
Join Date: Sep 2003
Posts: 25
Default

Well, I guess a db here would be betta, out of interest, how do I get MySQL to accept connections from ozclans?
  #4  
Old 26-05-2004, 11:20 PM
Lego Lego is offline
Lego's Avatar
Administrator
Join Date: May 2002
Location: Sydney
Posts: 5,552
Default

Umm. You would have to edit the grant permissions for your username. So if you had a mysql user called "bob", you would have allow his hostname to come from "lima.ozforces.com"

I really only know how to do it via phpmyadmin.

I'll set up your mysql account on ozclans - you shall recieve details by email soon.
  #5  
Old 27-05-2004, 11:16 AM
jdp2234 jdp2234 is offline
jdp2234's Avatar
Mushroom
Join Date: Sep 2003
Posts: 25
Default

Cheers
  #6  
Old 28-05-2004, 05:12 PM
jdp2234 jdp2234 is offline
jdp2234's Avatar
Mushroom
Join Date: Sep 2003
Posts: 25
Default

You havent sent me it yet.
  #7  
Old 03-06-2004, 06:28 PM
Lego Lego is offline
Lego's Avatar
Administrator
Join Date: May 2002
Location: Sydney
Posts: 5,552
Default

Done - check your email.
  #8  
Old 03-06-2004, 07:33 PM
jdp2234 jdp2234 is offline
jdp2234's Avatar
Mushroom
Join Date: Sep 2003
Posts: 25
Default

It doesnt appear to be working.
  #9  
Old 03-06-2004, 08:26 PM
Lego Lego is offline
Lego's Avatar
Administrator
Join Date: May 2002
Location: Sydney
Posts: 5,552
Default

The login doesn't work? Try logging in below
http://myadmin.ozclans.com
  #10  
Old 03-06-2004, 10:28 PM
jdp2234 jdp2234 is offline
jdp2234's Avatar
Mushroom
Join Date: Sep 2003
Posts: 25
Default

Yeah, it says "#1045 - Access denied for user: *******@*******' (Using password: YES)"
  #11  
Old 04-06-2004, 01:38 AM
Lego Lego is offline
Lego's Avatar
Administrator
Join Date: May 2002
Location: Sydney
Posts: 5,552
Default

Could you please reply to the email that was sent to you that contains the mysql details? I'll have to change your password. The system doesn't seem to be working, I'll have to have another look at it.
  #12  
Old 11-06-2004, 11:19 PM
jdp2234 jdp2234 is offline
jdp2234's Avatar
Mushroom
Join Date: Sep 2003
Posts: 25
Default

sent
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT +10. The time now is 08:51 AM.


Powered by vBulletin
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.