Hack Forums
[HELP] with mySQL connection to this site - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Hacks, Exploits, and Various Discussions (https://hackforums.net/forumdisplay.php?fid=45)
+--- Forum: Grayhat • Purple Team • Hybrid Security (https://hackforums.net/forumdisplay.php?fid=449)
+---- Forum: Website Hacking (https://hackforums.net/forumdisplay.php?fid=43)
+---- Thread: [HELP] with mySQL connection to this site (/showthread.php?tid=2674498)



[HELP] with mySQL connection to this site - josias1991 - Jul 13, 2012

ok so i got this informatioon for this site, can someone please help me or guide me into how i can login to this mysql server and do wat i gota do ??

the info is this

Code
define('DB_NAME', 'dbo396128390');

define('DB_USER', 'dbo396128390');

define('DB_PASSWORD', 'brasilien1');

define('DB_HOST', 'localhost');

define('DB_CHARSET', 'utf8');

define('DB_COLLATE', '');


can someone please help me out with this, i dont know how to go about this

ive tried going on backtrack 5 and trying to connect using the mysql commands but it keeps giving me an error saying

Code
ERROR 2003 (HY000): Can't connect to MySQL server on 'host' (111)


this is how ive been doing the command


Code
mysql --host=http://buch-magazin.com --user=dbo396128390 --password=brasilien1
and i still get the error

ive also done this one

Code
mysql --host=87.106.159.58 --user=dbo396128390 --password=brasilien1
and still error

and ive done this one too by using http://www.whoishostingthis.com

Code
mysql --host=ns65.1und1.de --user=dbo396128390 --password=brasilien1

and STILLL get the error....idk wat else to do, ive alsop tried puttting "host=localhost" and nothing =/

someone oease help me out here


* - bckslsh - Jul 13, 2012

Code
define('DB_HOST', 'localhost');

You can't connect to it remotely.


* - N3p BoY - Jul 13, 2012

No remote connection
i was also have some problem similar like that


* - josias1991 - Jul 13, 2012

(Jul 13, 2012 11:04 AM)๖ۣۜDan Wrote:  
Code
define('DB_HOST', 'localhost');

You can't connect to it remotely.

so you saying i cant connect to it at all?


* - bckslsh - Jul 13, 2012

(Jul 13, 2012 11:12 AM)josias1991 Wrote:  so you saying i cant connect to it at all?

Did you read my post? Of course you can connect to it, locally.


* - josias1991 - Jul 13, 2012

(Jul 13, 2012 11:19 AM)๖ۣۜDan Wrote:  Did you read my post? Of course you can connect to it, locally.

yea, i understood what you said, sry i wasnt clea

i meant "i cant connect to it at all unless im not local?"


* - ηιgнтωσℓғ - Jul 13, 2012

(Jul 13, 2012 11:25 AM)josias1991 Wrote:  yea, i understood what you said, sry i wasnt clea

i meant "i cant connect to it at all unless im not local?"
No you cant.
You must define it different to connect remotely:

es: define('DB_HOST', 'xxx.xxx.xxx.xxx'); or mysql.remotehost.xxx depends on mysql db address.


* - josias1991 - Jul 13, 2012

(Jul 13, 2012 11:30 AM)ηιgнтωσℓғ Wrote:  No you cant.
You must define it different to connect remotely:

es: define('DB_HOST', 'xxx.xxx.xxx.xxx'); or mysql.remotehost.xxx depends on mysql db address.

can you please tell me how id have to go about this, like the commands id have to put in or just point me towards a tut or something wehre i can learn this if you dont mind


* - HaxOr❤ - Jul 13, 2012

You can connect to it with a shell or a MySQL manager on the SAME server.


* - r00tk1t - Jul 13, 2012

You can only connect to it if you are on the same server itself.


* - TheW3bster - Jul 13, 2012

(Jul 13, 2012 01:34 PM)r00tk1t Wrote:  You can only connect to it if you are on the same server itself.

No shit! That's surely not what all the people above said and that you repeated!


* - josias1991 - Jul 13, 2012

(Jul 13, 2012 01:35 PM)TheW3bster Wrote:  No shit! That's surely not what all the people above said and that you repeated!

lol...same thing i was thinking

The message is . Please enter a message longer than 35 characters.


* - shiV1shi - Jul 14, 2012

Just create a reverse proxy like NC on the MySQL server so that you can connect to MySQL on that server.