Hi. I have an Autoplay Media Studio Project with a external database in db4free.net. I connected the database to the project via script (The project is a Login/Register form) and when I register a new user always goes ok, but the user doesn't appears in the database. What can i do?
Announcement
Collapse
No announcement yet.
MySQL Connect error
Collapse
X
-
-
Hi found an apz in my collection similar to your one also uses mysql
Noted a few calls are different , as I'm not good with Spanish or MySQL try this
ChatAMS.apz
Comment
-
Originally posted by charliechaps View PostHi found an apz in my collection similar to your one also uses mysql
Noted a few calls are different , as I'm not good with Spanish or MySQL try this
[ATTACH]n303811[/ATTACH]
Comment
-
Hi , I think you would have to change to your server settings
from
Code:MySQLConnection = MySQL:connect('chatams','chatams','xatams','db4free.net','3306')
Code:MySQL = luasql.mysql(); -- Carga la libreria MySQL -- Datos de conexion a la base de datos MySQLConnection, err = [COLOR=#FF0000]MySQL:connect('systemdb', 'domenicogoya', 'B04M30103V', 'db4free.net', '3306')[/COLOR]; -- Conecta a la base de datos if not MySQLConnection and err then -- Verifica si hay algun error al conectar Dialog.Message("Error",err.."\n\nThe program will be closed"); -- Si hay error que mande un mensaje Application.Exit(0); end
Comment
Comment