amrreko Posted May 24, 2010 Posted May 24, 2010 hi every 1 i would like know MYSQL connection by dreamweaver /////////// MYSQL Server name: ????????????? i wrote : stevie.heliohost.org user name : my database user name example : user_db password : mysql password Database : name that same above user_db i create it ////////// my domain in this host : elyoumelaraby.co.cc Q1: how can i connect to DreamWeaver? if didn't answer i would to know what MYSQL Server name to manual connect for example $hostname_dd = "what i can write here?"; $database_dd = "amrreko_db"; $username_dd = "amrreko_db"; $password_dd = "mysql password"; //////// thanks every body help me Quote
Wizard Posted May 24, 2010 Posted May 24, 2010 What are you using dreamweaver for? What's the procedure? Could you use better English? You need to create a MySQL database from cPanel before you can input this information. Quote
amrreko Posted May 25, 2010 Author Posted May 25, 2010 What are you using dreamweaver for? What's the procedure? Could you use better English? You need to create a MySQL database from cPanel before you can input this information. yes, create a MySQL database from cPanel.but i would drag forms of insert ,update,retrive data..all records .drag & drop by dreamweaver it's easy desgin for more code lines inside it. Quote
Wizard Posted May 25, 2010 Posted May 25, 2010 http://stevie.heliohost.org:2082/frontend/...ql/wizard1.html Make a MySQL database. The MySQL database, user, and password you used there will be the information you use for Dreamweaver. Quote
amrreko Posted May 25, 2010 Author Posted May 25, 2010 thanks ,i did it sorry for failed. please what the database server name for code connection example: $hostname_amrcon ="stevie.heliohost.org"; $database_amrcon = "amrreko_info"; $username_amrcon = "amrreko_info"; $password_amrcon = "********************"; $amrcon = mysql_connect($hostname_amrcon, $username_amrcon, $password_amrcon); mysql_select_db($database_amrcon,$amrcon); $sql = mysql_query("select * from myemails"); what is the database server name? what code should i use to connect? Quote
Wizard Posted May 25, 2010 Posted May 25, 2010 Hostname is localhost. The other information should be exactly what you put in for the MySQL wizard. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.