Skip to content

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

Featured Replies

Access denied for user 'thelasthero'@'localhost'

localhost? are you crazy?

 

change:

$hserver="your IP/no-ip";

  • Author

localhost? are you crazy?

 

change:

$hserver="your IP/no-ip";

I want to connect to site not OTHERS. www.l2unique.net84.net

You want to connect to the MySQL server, right?

 

 

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

  • Author

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.

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"

  • Author

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

sorry, I missed this one:

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

  • Author

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

 

your line 3 is this

 

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

 

are you use that your mysql port is 3306?

  • Author

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

Your port is not forwarded.

Configure your router.

  • Author

Your port is not forwarded.

Configure your router.

ok i did but still error the same.

Are you sure you've forwarded the port properly?

Also, you're not behind a firewall?

  • Author

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]

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

 

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

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

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.