Jey Posted September 2, 2014 Posted September 2, 2014 Hello i have Sql Script but i need a database to connect the script with it some guy tell me do with xampp but i dont know how ? Can any one Tell me how i can do SQL With xampp
Jey Posted September 2, 2014 Author Posted September 2, 2014 http://lmgtfy.com/?q=XAMPP+SQL+Setup http://www.000webhost.com i use this website to do a database and i do and i type the info in the script but it still tell me database is down function () dbConnect( "mysql", "dbname=a1490908_memo;mysql10.000webhost.com", "a1490908_memo", "12345m", "share=1" )
Anubhav Posted September 2, 2014 Posted September 2, 2014 function () dbConnect( "mysql", "dbname=a1490908_memo;host=mysql10.000webhost.com;port=yourPort.", "a1490908_memo", "12345m", "share=1" ) end
Jey Posted September 2, 2014 Author Posted September 2, 2014 but 00webhost didn't give port only this info
Anubhav Posted September 2, 2014 Posted September 2, 2014 but 00webhost didn't give port only this info Then use a mysql hosting company. Google it.
Jey Posted September 2, 2014 Author Posted September 2, 2014 but 00webhost didn't give port only this info Then use a mysql hosting company. Google it. Bro i don't understand any thing i just want this sql script work i need a goood site to do a sql and connect it with the script only
MTA Team 0xCiBeR Posted September 2, 2014 MTA Team Posted September 2, 2014 http://db4free.net/ may be a good solution. Otherwise install MySQL community Server from official Site.
Jey Posted September 7, 2014 Author Posted September 7, 2014 Okey i register and do a Database in php then ? how i can get the info i have this script and i need to connect it with the database in Php addEventHandler ( "onResourceStart", getResourceRootElement( getThisResource () ), function () connection = dbConnect( "mysql", "dbname=den;host=127.0.0.1;port=3306;unix_socket=/var/run/mysqld/mysqld.sock", "root", pass )
Anubhav Posted September 7, 2014 Posted September 7, 2014 addEventHandler ( "onResourceStart", getResourceRootElement( getThisResource () ), function () connection = dbConnect( "mysql", "dbname=memo;host=127.0.0.1;port=3306;", "root", pass )
Jey Posted September 7, 2014 Author Posted September 7, 2014 addEventHandler ( "onResourceStart", getResourceRootElement( getThisResource () ), function () connection = dbConnect( "mysql", "dbname=memo;host=127.0.0.1;port=3306;", "root", pass ) where i can get the info from that phpmyadmin ? and do you have skype ?
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now