Jump to content

dbConnect


Recommended Posts

Posted

Hace mucho, yo habia registrado a un servidor MySQL (000webhost) , y para ello utilize el "dbConnect".

Sin embargo, al empezar el server me dice .."Can't connect to MySQL server on 'mysql....' <10060>

Aqui esta el script

dataBase = dbConnect("mysql","dbname=a3099655_mtadb;host=mysql5.000webhost.com","a3099655_edikosh","secreto") 
if not dataBase then 
outputDebugString("Error") 
end 
  
--mysql_host = "mysql5.000webhost.com" 
--mysql_database = "a3099655_mtadb" 
--mysql_user = "a3099655_edikosh" 
--mysql_password = "Secreto" 
-- Estos son los datos que me dieron, para el host 
       

Posted
Talvez te falten datos o el host este mal, tambien podes intentar poner el puerto correcto.

el problema es webhost, usa nixiweb, es mas confiable...

Posted
test_db = dbConnect( "mysql", "dbname=frank;host=1.2.3.4", "username", "password", "share=1" )  

Osea este ejemplo no me quedo muy claro, con esos argumentos ya tendria que estar?

Alexs, ahora pruebo el nixiweb :) :)

EDIT : Nixiweb bloqueo hasta el 10 de abril xD

Posted
test_db = dbConnect( "mysql", "dbname=frank;host=1.2.3.4", "username", "password", "share=1" )  

Osea este ejemplo no me quedo muy claro, con esos argumentos ya tendria que estar?

Alexs, ahora pruebo el nixiweb :) :)

EDIT : Nixiweb bloqueo hasta el 10 de abril xD

Revisa tus PM

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...