close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Having connection problems related to password

Thread began 6/18/2010 7:08 am by gail.bergan407744 | Last modified 6/23/2010 2:19 am by gail.bergan407744 | 5456 views | 18 replies

i.edwards384429

update

Hi

there are two distinct parts to any php/mysql setup.

1st forget html and Dreamweaver.

There are two places you can create a database locally on your own PC and on a web server.
I'm assuming you are running a test server using Wamp or similar?


Open phpmyadmin or one of the other tools and check you have created a database or if not create one. The default super user name is root, the password is I beleive not set.

Once you can connect and log in using root and nothing then you need to run a query.

select open query and then browse to your downloaded files and in the database folder you will see a file users.sql

run that file which will populate your database.

By doing this you have created your table and proved your connection details.

Then in your connections folder edit the lines to show as below

<?php
# FileName="Connection_php_mysql.htm"
# Type="MYSQL"
# HTTP="true"
$hostname_localhost = "localhost";
$database_localhost = "your database name";
$username_localhost = "root";
$password_localhost = "";
$localhost = mysql_pconnect($hostname_localhost, $username_localhost, $password_localhost) or trigger_error(mysql_error(),E_USER_ERROR);
?>

Then open users_Registration.php in dreamweaver and preview.

Ok thats the basics but life is never simple. If that does not work come back to us with

your version of Dreamweaver
If you are running on a local machine are you using WAMP or .....
What tool are you using to edit/modify/play with mysql
Are you on PC or MAC

We can then all give you more specific help

HTH

Ian






Thats it.

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...