What is the addy to my MySQL database server?
What is the addy to my MySQL database server?
I can't figure this out.
I have my own server (ipaska) and I have created my database on it. Created a user/pw and all that but I don't know what the address is.
I'm trying to install some software on it and it asks me for the address to the MySQL server database.
Would it be something like:
http://www.universeofdiscourse.org/????/????/???
I don't know the correct syntax that it needs.
I have my own server (ipaska) and I have created my database on it. Created a user/pw and all that but I don't know what the address is.
I'm trying to install some software on it and it asks me for the address to the MySQL server database.
Would it be something like:
http://www.universeofdiscourse.org/????/????/???
I don't know the correct syntax that it needs.
lance-tek wrote:yes, I would believe so, however, you may also try to use the IP of it ...
192.168.0.1/root/ ....
-lance
I don't know what that is......
Look, here is the deal, I'm trying to setup F@H stats for everybody here. I have an ipaska webserver. I have FTP access to it as well as their own cpanel but that's it. I can do everything I need to but because I'm going through their own frontend for administering the server....I don't know what the REAL url's are. you know how when you look at phpmyadmin...it's usually like localhost/myadmin.php blah blah blah....well everything here on this cpanel is proceeded by soemthing else. I don't know how to ****ing explain it........this sucks
Setup for Coolrunr's F@H Stats System
Admin user:
Admin Password:
Admin Password (confirm):
Team Number (ID):
MySQL Server address:
MySQL User:
MySQL User Password:
MySQL User Password (confirm):
MySQL Database Name:
Prefix for table names:
Team homepage or site
Install
So what do I put in there? I have no idea what the location of the server is....
Admin user:
Admin Password:
Admin Password (confirm):
Team Number (ID):
MySQL Server address:
MySQL User:
MySQL User Password:
MySQL User Password (confirm):
MySQL Database Name:
Prefix for table names:
Team homepage or site
Install
So what do I put in there? I have no idea what the location of the server is....
start > run > ping www.universeofdiscourse.org = 64.147.162.81
don't you have a remote connection tool you can use? if so just connect that way and go in ...
where are the big networking peeps at that would know all about this stuff ...
-lance
don't you have a remote connection tool you can use? if so just connect that way and go in ...

where are the big networking peeps at that would know all about this stuff ...
-lance
A mistake does not become an error until one refuses to correct it
Folding for the future
Folding for the future

UOD wrote:Setup for Coolrunr's F@H Stats System
Admin user:
Admin Password:
Admin Password (confirm):
Team Number (ID):
MySQL Server address:
MySQL User:
MySQL User Password:
MySQL User Password (confirm):
MySQL Database Name:
Prefix for table names:
Team homepage or site
Install
So what do I put in there? I have no idea what the location of the server is....
this will all be on the server or on your machine? if it is on the server then it will be just a local directory from there ...
if you are trying to connect to it remotely then, I would suggest using the ip and then the path ... however, I am not sure what directory you have it in or if you are allowing external applications to access it. (apps that aren't on the machine, as in coming from an external IP

-lance
A mistake does not become an error until one refuses to correct it
Folding for the future
Folding for the future

And what does this mean?
It says in the help file to make that file (dba.php) writeable. When I went in and checked it's properties...it said it was writable. Or am I doing it wrong?
Warning: fopen(dba.php): failed to open stream: Permission denied in /home/esp666/public_html/FAHStats/includes/install.php on line 211
It says in the help file to make that file (dba.php) writeable. When I went in and checked it's properties...it said it was writable. Or am I doing it wrong?
UOD wrote:And what does this mean?
It says in the help file to make that file (dba.php) writeable. When I went in and checked it's properties...it said it was writable. Or am I doing it wrong?
chmod 767 I think that is right .. read, not write, execute ...
A mistake does not become an error until one refuses to correct it
Folding for the future
Folding for the future

lance-tek wrote:chmod 767 I think that is right .. read, not write, execute ...
I just took a look in there and I don't see the ability to make the change without going into the edit ... which I did not want to do in case you may have been in there looking around or something ... I didn't want to F anything up for ya

check yer PM's in regards to the path and see if that helps you any ... I am not fond of DB's on machines off in la la land that I can not log into like a workstation ... if you have that kind of rcon access it would be a lot better ... cpanel kinda sux for this, and the knowledge base is terrible ...
I would even suggest since it is just data (prolly like no stream at all) hosting the DB on your local machine and pointing the page to query from it ...
-lance
A mistake does not become an error until one refuses to correct it
Folding for the future
Folding for the future

[quote="lance-tek"]I just took a look in there and I don't see the ability to make the change without going into the edit ... which I did not want to do in case you may have been in there looking around or something ... I didn't want to F anything up for ya ]
See, I don't want to host anything on my own machine for obvious reasons. If my machine is off....nobody gets their stats. I just can't believe that this is that difficult. I use Foxserv on a server at work to serve up a forum for work related crap. So I know how to set up everything and the paths are simple....but because this on on a remote host...I have no idea how to do it.
Thanks for the help though. Please erase pw from memory lol.
See, I don't want to host anything on my own machine for obvious reasons. If my machine is off....nobody gets their stats. I just can't believe that this is that difficult. I use Foxserv on a server at work to serve up a forum for work related crap. So I know how to set up everything and the paths are simple....but because this on on a remote host...I have no idea how to do it.
Thanks for the help though. Please erase pw from memory lol.

UOD wrote:...
Thanks for the help though. Please erase pw from memory lol.![]()
already happened

it would probably be easy to contact the host company via email and they can tell you exactly what path you need to use ...
JCOS or someone may be familiar enough with doing this to tell you exactly what you need .... mine is a little different ... so I can't tell you exactly
-lance
A mistake does not become an error until one refuses to correct it
Folding for the future
Folding for the future

what was that for?
I think in about a month ... I will have time to start putting up a web server at home ... I am gonna start out with a desktop rig set up for it then maybe after I see how it all goes I may upgrade the bandwidth and the rig ... if and when I start I will help you with the DB and even though my IP will change I already have a fix for that ...
I am really diggin my heels into .NET programming (I have to ... it is my job now) and I am a web developer in .NET now so .... all in good time my friends ... all in good time ...
if anyone can find out how to pull from the stanford database that would be a huge help ....
-lance
I think in about a month ... I will have time to start putting up a web server at home ... I am gonna start out with a desktop rig set up for it then maybe after I see how it all goes I may upgrade the bandwidth and the rig ... if and when I start I will help you with the DB and even though my IP will change I already have a fix for that ...

I am really diggin my heels into .NET programming (I have to ... it is my job now) and I am a web developer in .NET now so .... all in good time my friends ... all in good time ...
if anyone can find out how to pull from the stanford database that would be a huge help ....
-lance
A mistake does not become an error until one refuses to correct it
Folding for the future
Folding for the future

[quote="lance-tek"]what was that for?
I think in about a month ... I will have time to start putting up a web server at home ... I am gonna start out with a desktop rig set up for it then maybe after I see how it all goes I may upgrade the bandwidth and the rig ... if and when I start I will help you with the DB and even though my IP will change I already have a fix for that ... ]
Lance,
You would problably have to tie your database into the txt file located at:
http://vspx27.stanford.edu/teamstats/team15.txt
It is in tab seperated format.
If you already new this, I appoligize.
I hope it helps,
RicRogue
I think in about a month ... I will have time to start putting up a web server at home ... I am gonna start out with a desktop rig set up for it then maybe after I see how it all goes I may upgrade the bandwidth and the rig ... if and when I start I will help you with the DB and even though my IP will change I already have a fix for that ... ]
Lance,
You would problably have to tie your database into the txt file located at:
http://vspx27.stanford.edu/teamstats/team15.txt
It is in tab seperated format.
If you already new this, I appoligize.
I hope it helps,
RicRogue
RicRogue wrote:Lance,
You would problably have to tie your database into the txt file located at:
http://vspx27.stanford.edu/teamstats/team15.txt
It is in tab seperated format.
If you already new this, I appoligize.
I hope it helps,
RicRogue
No Ric, I was not already aware of that. I appreciate the insight

-lance
A mistake does not become an error until one refuses to correct it
Folding for the future
Folding for the future

- SeedOfChaos
- Posts: 8651
- Joined: Sat Apr 22, 2000 12:00 am
- Location: Comfortably Numb
SeedOfChaos wrote:But you're still using the img tag, which isn't allowed in sigs... I think that's how they enforce the no-sig-pic rule, isn't it?
This is a different one from http://www.statgfx.com/index.html
The one I can't seem to get working on my webserver is all php code.
no idea if you've solved your database problem, but i'm running apache/mysql at home on a windows 2000 server with a number of databases, and you should probably be using LOCALHOST or 127.0.0.1 for yoru server address.
here's a snippet from one of my php files (i work almost exclusively with php)
$link = mysql_connect("localhost","myuser","myuserpassword") or die ("Could not connect");
and you should probably creater a user with limited access to that one database so as to secure any others you have (eg never use a root user)
-Jeremy
here's a snippet from one of my php files (i work almost exclusively with php)
$link = mysql_connect("localhost","myuser","myuserpassword") or die ("Could not connect");
and you should probably creater a user with limited access to that one database so as to secure any others you have (eg never use a root user)
-Jeremy
DESKTOP: P4 1.8A, 512MB, 80GB WD-JB, 64MB GF2 MX, JLMS DVD-ROM, Samsung 48x24x48x, TV2000XP Deluxe, SB128, 2000 Pro
SERVER: P3 450, 384MB, 40GB & 7.2GB IDE (Promise Ultra66), 4.5GB SCSI (Diamond FirePort), ATI Rage IIC 8MB, SMC 1211TX, 2000 Server
Inspiron 8500: P4 2.2-M, 512MB, 40GB Hitachi, 64MB GF4 4200 Go, DVD/CD-RW, M-Audio Sonica Theatre, SXGA+ 15.4" TFT, 120GB WD-BB, Pioneer A05, XP Pro
Site of Stuff:
http://mysiteofstuff.no-ip.ca
SERVER: P3 450, 384MB, 40GB & 7.2GB IDE (Promise Ultra66), 4.5GB SCSI (Diamond FirePort), ATI Rage IIC 8MB, SMC 1211TX, 2000 Server
Inspiron 8500: P4 2.2-M, 512MB, 40GB Hitachi, 64MB GF4 4200 Go, DVD/CD-RW, M-Audio Sonica Theatre, SXGA+ 15.4" TFT, 120GB WD-BB, Pioneer A05, XP Pro
Site of Stuff:
http://mysiteofstuff.no-ip.ca
[quote="Jeremy"]no idea if you've solved your database problem, but i'm running apache/mysql at home on a windows 2000 server with a number of databases, and you should probably be using LOCALHOST or 127.0.0.1 for yoru server address.
here's a snippet from one of my php files (i work almost exclusively with php)
$link = mysql_connect("localhost","myuser","myuserpassword") or die ("Could not connect")]
LOL
The server is here:
http://www.ipaska.com/
My website is this:
http://www.universeofdiscourse.org
I live in NJ...no telling what state or country the server is actually in....so localhost is not even on my radar.
I know how to setup a server and all that...if I own and operate the hardware myself. I use Foxserv actually...all in one solution with apache, php, and mysql.
I don't have the bandwidth to run this script from my home machine or else I would. So I thought it would have been easy to put it on my webhost. Guess not.

here's a snippet from one of my php files (i work almost exclusively with php)
$link = mysql_connect("localhost","myuser","myuserpassword") or die ("Could not connect")]
LOL
The server is here:
http://www.ipaska.com/
My website is this:
http://www.universeofdiscourse.org
I live in NJ...no telling what state or country the server is actually in....so localhost is not even on my radar.
I know how to setup a server and all that...if I own and operate the hardware myself. I use Foxserv actually...all in one solution with apache, php, and mysql.
I don't have the bandwidth to run this script from my home machine or else I would. So I thought it would have been easy to put it on my webhost. Guess not.

Wanna use a web page to be able to use straing mysql commands in a textarea? This way you can issue ANY sql command statement. Save this code as sql_cmd.php and put it in a passworded directory and use it to do whatever you want with mysql. (SELECT, ALTER, DROP, CREATE, etc etc etc)
Code: Select all
<?php
// FILL THESE IN WITH YOUR SERVER'S DETAILS
$mysqlhost = 'localhost';
$mysqlusr = 'user';
$mysqlpass = 'password';
mysql_connect($mysqlhost,$mysqlusr,$mysqlpass);
?>
<html>
<head><title>MySQL Command Line</title></head>
<body onLoad="document.forms[0].elements['query'].focus()">
<?php
if (isset($_POST['submitquery'])) {
if (get_magic_quotes_gpc()) $_POST['query'] = stripslashes($_POST['query']);
echo('<p><b>Query:</b>
'.nl2br($_POST['query']).'</p>');
mysql_select_db($_POST['db']);
$result = mysql_query($_POST['query']);
if ($result) {
if (@mysql_num_rows($result)) {
?>
<p><b>Result Set:</b></p>
<table border="1">
<thead>
<tr>
<?php
for ($i=0;$i<mysql_num_fields($result);$i++) {
echo('<th>'.mysql_field_name($result,$i).'</th>');
}
?>
</tr>
</thead>
<tbody>
<?php
while ($row = mysql_fetch_row($result)) {
echo('<tr>');
for ($i=0;$i<mysql_num_fields($result);$i++) {
echo('<td>'.$row[$i].'</tr>');
}
echo('</tr>');
}
?>
</tbody>
</table>
<?php
} else {
echo('<p><b>Query OK:</b> '.mysql_affected_rows().' rows affected.</p>');
}
} else {
echo('<p><b>Query Failed:</b> '.mysql_error().'</p>');
}
echo('<hr />');
}
?>
<form action="<?=$_SERVER['PHP_SELF']?>" method="POST">
<p>Target Database:
<select name="db">
<?php
$dbs = mysql_list_dbs();
for ($i=0;$i<mysql_num_rows($dbs);$i++) {
$dbname = mysql_db_name($dbs,$i);
if ($dbname == $_POST['db'])
echo("<option selected>$dbname</option>");
else
echo("<option>$dbname</option>");
}
?>
</select>
</p>
<p>SQL Query:
<textarea onFocus="this.select()" cols="60" rows="5" name="query">
<?=htmlspecialchars($_POST['query'])?>
</textarea>
</p>
<p><input type="submit" name="submitquery" value="Submit Query (Alt-S)" accesskey="S" /></p>
</form>
</body>
</html>
No one has any right to force data on you
and command you to believe it or else.
If it is not true for you, it isn't true.
LRH
and command you to believe it or else.
If it is not true for you, it isn't true.
LRH
UOD wrote:LOL
The server is here:
http://www.ipaska.com/
My website is this:
www.universeofdiscourse.org
I live in NJ...no telling what state or country the server is actually in....so localhost is not even on my radar.
I know how to setup a server and all that...if I own and operate the hardware myself. I use Foxserv actually...all in one solution with apache, php, and mysql.
I don't have the bandwidth to run this script from my home machine or else I would. So I thought it would have been easy to put it on my webhost. Guess not.
![]()
ok oops i thought you were running from one box

depending on how heavy your access is i could potentialy help, however remotely possible. i've serve a few GB of stuff a month from home with few complaints, but the connection is 6M/512K so i dunno if it's fast enough. it seems like you're going for the casual FAH stats for just SG?
ISPs up here don't tend to complain about heavy bandwidth as i hosted a few WMVs for somebody's livejournal and transferred about 4GB in a ten hour span.
Jeremy wrote:ok oops i thought you were running from one box. forget the localhost stuff then!
depending on how heavy your access is i could potentialy help, however remotely possible. i've serve a few GB of stuff a month from home with few complaints, but the connection is 6M/512K so i dunno if it's fast enough. it seems like you're going for the casual FAH stats for just SG?
ISPs up here don't tend to complain about heavy bandwidth as i hosted a few WMVs for somebody's livejournal and transferred about 4GB in a ten hour span.
Thanks for the offer but it's either my way or the hiway...in other words, I aint giving up until it works LOL. If I have to break some skulls....just kidding.

thanks for the help though.
