close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Can't make a MySql connection

Thread begun 9/20/2009 1:41 pm by drubin312804 | Last modified 9/23/2009 10:13 am by anonymous | 4985 views | 14 replies |

drubin312804

Can't make a MySql connection

I'm going to guess this has been asked before but ZI can't seem to find a solution. I follow all the direction of the tutorials and I can't make a contection to the MySql databes on my local computer.

I've got all the MySql things up an running in the Sites folder under my user name, when I try to connect I get an unidentified error message then a "There's no testing server running on the server machine message. I've used "root" as the user name and the user name of the computer nothing has worked.

Any suggections?

Sign in to reply to this post

office172461

Are you sure you installed Apache?

This Article might help:
How to set up a local testing server for Dreamweaver
144/

The user name and password it's looking for are the ones that you assigned to the database you setup.

Sign in to reply to this post

drubin312804

Yes Apache is installed and the MySql administrator tells me the server is running. I have all my files in the folder Users/drubin(my username)/Sites

MySql is set to work with my user name and my computers password.

Sign in to reply to this post

office172461

Your files have to be installed in the web root of the web server for Apache to see them.

It will only work with your computer name and password if they are the same as the database name and password you assigned when you created the database. MySQL doesn't do anything with your computer login information. It only cares about the database user name and password.

Sign in to reply to this post

drubin312804

First off thanks for your help, I think it's great that folks like you are out there.

My files are if the web root of the Apache server.

When I try to connect I get a MySql error #2002.

Here's what the MySql connection screen in Dreamweaver says:
Connection name: connBSM
MySql server: localhost
User name: Root
Password: ••••••••
Database;

Sign in to reply to this post

office172461

So is your web root something like:
C:\xampp\htdocs\

You haven't specified the database name.

Sign in to reply to this post

drubin312804

I'm working on a MAC, the root is:

Users/drubin/Sites/

Sign in to reply to this post

anonymous

Hi drubin,

While this won't fix the problem you're speaking of, it is an alternative solution.

Have you tried MAMP? index.html

I have found it to be the best Apache/MySQL/Mac all in one solution on the block.

MAMP is free and MAMP PRO is available for a nominal fee... MAMP PRO even allows you to create virtual hosts - which is great if you're developing many sites at one time.

Cheers,

Brian

Sign in to reply to this post

drubin312804

OK, I've downloaded MAMP and put my files in the htdocs folder and created a new site that specifies that foldr as the site root and I still get the same error message.

Sign in to reply to this post

Jason ByrnesWebAssist

Go to the mamp control panel, does it show the MySQL Server as running in the top right hand corner?

try using the mySQL GUI Tools to access the MySQL Server:
5.0.html


If it is running and still have he same problem, see the following thread on the mamp forum:
viewtopic.php?t=679&start=0&postdays=0&postorder=asc&highlight=code+2002

Sign in to reply to this post
loading

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...