HLStatsxCE database

This is used for general discussion that is not necessarily server-related.
doulos9
This is my homepage
This is my homepage
Posts: 200
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Sun Sep 15, 2013 9:44 pm

HLStatsxCE database

Post by doulos9 »

Is there a way for me to get a copy of my hlstatsxce database? I asked the question in a ticket but they said they thought one could export the database. However, I could not find out how to do this. There is an option to Optimize Database but I don't see anything to export the database.

Any suggestions?
User avatar
soja
This is my homepage
This is my homepage
Posts: 2389
Joined: Fri May 18, 2012 3:20 pm

Re: HLStatsxCE database

Post by soja »

Do you have access to phpmyadmin for the database? That could be used to export the database.

I have not used NFO's HLX:CE service before, so I likely won't be much help(I run my own install).
Not a NFO employee
User avatar
kraze
Former staff
Former staff
Posts: 4362
Joined: Fri Sep 17, 2010 9:06 am
Location: California

Re: HLStatsxCE database

Post by kraze »

Currently we do not offer any way to export the current database.
@Kraze^NFo> Juski has a very valid point
@Juski> Got my new signature, thanks!
@Kraze^NFo> Out of context!
@Juski> Doesn't matter!
@Juski> You said I had a valid point! You can't take it back now! It's out there!
User avatar
Edge100x
Founder
Founder
Posts: 13131
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Re: HLStatsxCE database

Post by Edge100x »

You should actually be able to access the database from another NFO server (a shared webhosting account, etc). We provide FTP access to the HLStatsX:CE install and you have its MySQL login information. But, this is something that we don't directly support, so it's for advanced users only.
doulos9
This is my homepage
This is my homepage
Posts: 200
Joined: Sun Sep 15, 2013 9:44 pm

Re: HLStatsxCE database

Post by doulos9 »

OK thanks.
$atanic $pirit
This is my homepage
This is my homepage
Posts: 251
Joined: Tue Jan 28, 2014 5:32 am

Re: HLStatsxCE database

Post by $atanic $pirit »

You can try to use phpmyadmin for this task.
Image
User avatar
soja
This is my homepage
This is my homepage
Posts: 2389
Joined: Fri May 18, 2012 3:20 pm

Re: HLStatsxCE database

Post by soja »

$atanic $pirit wrote:You can try to use phpmyadmin for this task.
You would need to configure phpmyadmin to connect to a remote database, which isn't the easiest thing(nor is it needed).

You could use the command line tools for windows or linux to log in to the server and do a mysqldump though.
Not a NFO employee
doulos9
This is my homepage
This is my homepage
Posts: 200
Joined: Sun Sep 15, 2013 9:44 pm

Re: HLStatsxCE database

Post by doulos9 »

I tried using MySQL Workbench but it would not connect on port 3306. Using my stats ftp user/password.

I will try to use phpmyadmin from my linux server - if I can figure out how to to do.
doulos9
This is my homepage
This is my homepage
Posts: 200
Joined: Sun Sep 15, 2013 9:44 pm

Re: HLStatsxCE database

Post by doulos9 »

Connection denied.
#1130 - Host 'my ip address' is not allowed to connect to this MySQL server
$atanic $pirit
This is my homepage
This is my homepage
Posts: 251
Joined: Tue Jan 28, 2014 5:32 am

Re: HLStatsxCE database

Post by $atanic $pirit »

soja wrote: You would need to configure phpmyadmin to connect to a remote database, which isn't the easiest thing(nor is it needed).
Edge100x wrote:We provide FTP access to the HLStatsX:CE install and you have its MySQL login information.
If you have ftp to the HLSTATsX:CE then it's not a remote connection. Am I missing something here?



Is your other server from NFO? The only time I ever seen that IP error is when, the IP is from an outer source.
Image
doulos9
This is my homepage
This is my homepage
Posts: 200
Joined: Sun Sep 15, 2013 9:44 pm

Re: HLStatsxCE database

Post by doulos9 »

The mysql server will not allow me to connect to it from a remote computer. It apparently only allows localhost connections.

I have FTP access only.
User avatar
Edge100x
Founder
Founder
Posts: 13131
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Re: HLStatsxCE database

Post by Edge100x »

You're certain that the server you were connecting from had a valid nfoservers.com reverse DNS?
doulos9
This is my homepage
This is my homepage
Posts: 200
Joined: Sun Sep 15, 2013 9:44 pm

Re: HLStatsxCE database

Post by doulos9 »

I will check it again.
doulos9
This is my homepage
This is my homepage
Posts: 200
Joined: Sun Sep 15, 2013 9:44 pm

Re: HLStatsxCE database

Post by doulos9 »

I added the server to phpmyadmin (hosted on my NFO website) but when I try to log in I get this message:
#1045 - Access denied for user 'my stats username'@'hosted31.nfoservers.com' (using password: YES)
Correct me if I am wrong, but are these not the correct settings to add to phpmyadmin config.inc.php?

Code: Select all

$i++;
$cfg['Servers'][$i]['host']          = 'my stats url';
$cfg['Servers'][$i]['port']          = '3306';
$cfg['Servers'][$i]['socket']        = '';
$cfg['Servers'][$i]['connect_type']  = 'tcp';
$cfg['Servers'][$i]['extension']     = 'mysql';
$cfg['Servers'][$i]['compress']      = FALSE;
$cfg['Servers'][$i]['auth_type']     = 'config';
$cfg['Servers'][$i]['user']          = 'my hlstatsx username';
$cfg['Servers'][$i]['password']      = 'my hlstatsx password';
$cfg['Servers'][$i]['AllowNoPassword'] = false;
User avatar
Edge100x
Founder
Founder
Posts: 13131
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Re: HLStatsxCE database

Post by Edge100x »

If these match the settings in the HLStatsX configuration file, they should work. Are you also unable to use phpmyadmin locally on the HLStatsX box?
Post Reply