Jump to content
  • 0

[Request]Free webhosting that can connect with php to mysql.


Question

Posted

Guys, i tried to connect my php site to 000webhost.com (free), but it said that free webhosting is not allowed to connect. Can you tell me a site with free that it is allowed?

Recommended Posts

  • 0
Posted

You want to connect to the MySQL server, right?

 

 

Now, tell me where the mysql server is installed...(home?)

  • 0
Posted

You want to connect to the MySQL server, right?

 

 

Now, tell me where the mysql server is installed...(home?)

Ok listen.

I installed mysql and configured and to allow remote connections.

Installed my database etc.

Made new user as you told me to.

Then i put these in config.php and can't connect.

Mysql is to home, and i want to check out the site etc.

  • 0
Posted

Everything's ok, where's the problem?

You want: l2unique.net84.net (REMOTE MACHINE) to connect to your MySQL server and get data from it.

 

But this machine needs your IP to find you over the internet.(WAN IP, get it here)

 

 

You're still confused...

 

 

 

$hserver="YOUR IP"

  • 0
Posted

Everything's ok, where's the problem?

You want: l2unique.net84.net (REMOTE MACHINE) to connect to your MySQL server and get data from it.

 

But this machine needs your IP to find you over the internet.(WAN IP, get it here)

 

 

You're still confused...

 

 

 

$hserver="YOUR IP"

:(

Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'thelasthero'@'localhost' (using password: YES) in /home/a9522426/public_html/config/_config_procs.php on line 3

 

with my wan ip to hserver

  • 0
Posted

sorry, I missed this one:

$L2JBS_config["mysql_host"]="localhost"; (change localhost to WAN IP)

  • 0
Posted

sorry, I missed this one:

$L2JBS_config["mysql_host"]="localhost"; (change localhost to WAN IP)

Warning: mysql_connect() [function.mysql-connect]: Can't connect to MySQL server on '94.64.246.117' (4) in /home/a9522426/public_html/config/_config_procs.php on line 3

 

  • 0
Posted

your line 3 is this

 

$L2JBS_config["mysql_port"]=3306; // MySQP port

 

are you use that your mysql port is 3306?

line 3 in _config_procs.php it says not in config.php

  • 0
Posted

Are you sure you've forwarded the port properly?

Also, you're not behind a firewall?

  • 0
Posted

Are you sure you've forwarded the port properly?

Also, you're not behind a firewall?

[gr]File, dn fteei to port to exw kanei forward, einai ola opos eprepe na einai[/gr]

  • 0
Posted

Κάντο GR το topic γιατί μόνο Έλληνες μιλάμε.

 

Κάποιο 'πρόβλημα' με τον router είναι.

Έχεις κάνει προώθηση για την 3306; Σε ποιά πρωτόκολλα;

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock