Mysql connection issue
#1

I tried a new gamemode on mysql, though it seems that no matter what database I use, it just wont connect. I tried one on my VPS, then tried a 000webhost, and it can't connect. Is there a port to forward? (Im testing on my localhost)
Reply
#2

You can't use datebase from your free web hosting company. Download WAMP or XAMPP > Run MySQL and Apache.
Reply
#3

what about the database that I have on a VPS? Ive use mysql for other things and it works fine, should I pf the mysql port on my local system?
Reply
#4

Quote:
Originally Posted by Mattakil
Посмотреть сообщение
what about the database that I have on a VPS? Ive use mysql for other things and it works fine, should I pf the mysql port on my local system?
If you want to use mysql from your local connection system (just for testing) you have to download xxamp or WAMP , and you can setup your database through phpmyadmin of your local connection.
Also if you don't know how to do that here you go : Click me
Reply
#5

Any type of web hosting doesn't allows any other IP's to use their database. You can get your free database through www.db4free.net
Reply
#6

Y'all dont understand. I have mysql on my linux VPS. I want to CONNECT to that DB from my script. It wont connect. 000Webhost has nothing to do with this
Reply
#7

You need to start the MySQL server: service mysqld start
Reply
#8

If the regular plugin doesnt work, use the static plugin.

Post the error log here.
Reply
#9

This is all it says:
[16:34:58] [MYSQL]: [ERROR]: Connection to `prp` failed!
Reply
#10

Hmph. It seems to be working now, lol.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)