Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 04-03-2003, 10:42 PM   #1
Mortimer Jazz
Thing
 
Mortimer Jazz's Avatar
 
Join Date: Jun 2001
Location: UK
Posts: 2,418
Default phpdev

I installed phpdev (ala Jesse's recommendation).
At the moment I can connect to localhost without passing any args. For example: $link = @mysql_connect();

but I think this way may be causing problems later in my script so I wanted to specify "localhost" along with the default username and password in the function call, but can't find mention of what they are. I've tried "username" and "password" as well as a couple of other obvious choices. Anybody help me out?
__________________
............................
FLEX/FLASH BLOG
Previous Flash Tutorials

............................
Mortimer Jazz is offline   Reply With Quote
Old 04-03-2003, 11:38 PM   #2
freddycodes
Master of Nothing
 
Join Date: Dec 2002
Location: San Diego, CA
Posts: 2,468
Default

By default mysql is installed with the user root and no password. You should change this asap, see the post-install docs on mysql's site for the exact method.

You should for the time being be able to connect as

PHP Code:
$link mysql_connect("localhost""root"""); 
Personally I think it is much better to install each piece separately and work through the errors and get it working like that instead of using an installer like phpdev, but that just me. I feel like you can learn a lot by going through the ropes and installing each piece manually.
freddycodes is offline   Reply With Quote
Old 04-04-2003, 12:05 AM   #3
Mortimer Jazz
Thing
 
Mortimer Jazz's Avatar
 
Join Date: Jun 2001
Location: UK
Posts: 2,418
Default

Yep that works - thanks.
Had a look at the mysql site first, but didn't really understand what they were saying - I'm sure that will come soon

I was being a bit lazy using phpdev this time round *shame* I had previously installed everything individually and I know what you mean

cheers freddy
__________________
............................
FLEX/FLASH BLOG
Previous Flash Tutorials

............................
Mortimer Jazz is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:54 PM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.