Hi santidat,
This is not really a WAMPServer issue, its a MySQL one.
You really need to look at the MySQL manual and understand MySQL user account properly.
But my first suggestion would be to check the MySQL user account that you are using to login to MySQL with.
Remember that a MySQl user account is made up of 2 parts, the USER ex 'santidat' and the HOST ex '127.0.0.1'
Now these 2 part work together so if you are using a MySQL user that is defined to MySQL as
'santidat'@'127.0.0.1
You are actually saying that the userid 'santidat' is only allowed to login from an ip address of '127.0.0.1' and if (s)he tries to use that account from any other ip address login will be refused.
So you have to create (and use) a MySQL account that is allowed to connect to this MySQL Server from any ip address in the world ex 'santidat'@'%'
You can create new accounts either from the MySQL console or using phpMyAdmin.
Of course remember that this new account can now be hacked, so make sure you have a VERY STRONG password set for this account.
Also make sure that this new account only has access to the databases that it should be allowed access to.
This is a seterate step in the User Setup process.
You wrote
Quote
The connection string is : CONNG = "uid=" + usss + ";server=" + DNSS + ";pwd=" + pwdd + ";database=ROMERO;"
where usss,DNSS and pwdd are the user,dns and password. The DNS is xxx.xxx.xxx.xxx:82
Also remember that MySQL (by default) runs on TCP port 3306 so in the above comment the use of
The DNS is xxx.xxx.xxx.xxx:82will not work, unless you have changed the port that MySQL Server Listens on.
I assume that you have changed the port that APACHE runs on from port 80 to port 82. However this is irrelevant in this situation. Remember you are trying to connect directly to MySQL Server and not Apache.
So now, if you have correctly Port Forwarded port 3306 on your router, you shoudl be able to connect.
Final NoteOpening yourself up to connections from the internet is a dangerous thing to do unless you really know what you are doing, so please be careful.
---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>Read The Manuals Apache --
MySQL --
PHP --
phpMyAdminGet your Apache/MySQL/mariaDB/PHP ADDONs here from the
WAMPServer alternate Repo-X-X-X-
Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-