connecting to MySQL
Moderator: General Moderators
-
Mythic Fr0st
- Forum Contributor
- Posts: 137
- Joined: Sat Dec 02, 2006 3:23 am
- Contact:
connecting to MySQL
I used easyphp to get MySQL and Apache
when I try and connect it denies me, what stuff do I have to put in?
$con = mysql_connect("localhost","(NAME??)",(Password is here"");
can anyone tell me?
when I try and connect it denies me, what stuff do I have to put in?
$con = mysql_connect("localhost","(NAME??)",(Password is here"");
can anyone tell me?
- evilchris2003
- Forum Contributor
- Posts: 106
- Joined: Sun Nov 12, 2006 6:43 am
- Location: Derby, UK
-
Mythic Fr0st
- Forum Contributor
- Posts: 137
- Joined: Sat Dec 02, 2006 3:23 am
- Contact:
no, I meant them as questions
Name??? like what goes there, a name?
$con = mysql_connect("localhost","(WHATGOESHERE)",(DOESPASSWORD go here?");
oh and considering i havent setup MySQL and I dont think I can, because I downloaded it with Easyphp, so whats the default name & passwords that come?
Name??? like what goes there, a name?
$con = mysql_connect("localhost","(WHATGOESHERE)",(DOESPASSWORD go here?");
oh and considering i havent setup MySQL and I dont think I can, because I downloaded it with Easyphp, so whats the default name & passwords that come?
Last edited by Mythic Fr0st on Sat Dec 02, 2006 8:51 pm, edited 1 time in total.
- evilchris2003
- Forum Contributor
- Posts: 106
- Joined: Sun Nov 12, 2006 6:43 am
- Location: Derby, UK
-
Mythic Fr0st
- Forum Contributor
- Posts: 137
- Joined: Sat Dec 02, 2006 3:23 am
- Contact:
- evilchris2003
- Forum Contributor
- Posts: 106
- Joined: Sun Nov 12, 2006 6:43 am
- Location: Derby, UK
i would be inclined to try
admin and password respectively
or admin for both but im sure that even an all in 1 setup (i assume thats what you have) will allow you to define these for yourself
do you have the mysql admin tool switched on because that will tell you your password
look like a traffic light in your Task bar
admin and password respectively
or admin for both but im sure that even an all in 1 setup (i assume thats what you have) will allow you to define these for yourself
do you have the mysql admin tool switched on because that will tell you your password
look like a traffic light in your Task bar
http://www.easyphp.org/faq.php3#6 - The default username is "root", password is "" and the host is obviously "localhost". 
Last edited by William on Sat Dec 02, 2006 9:10 pm, edited 2 times in total.
-
Mythic Fr0st
- Forum Contributor
- Posts: 137
- Joined: Sat Dec 02, 2006 3:23 am
- Contact:
- evilchris2003
- Forum Contributor
- Posts: 106
- Joined: Sun Nov 12, 2006 6:43 am
- Location: Derby, UK