how to install MySQL on my computer?

Status
Not open for further replies.

Chriz

New Member
Messages
1
Reaction score
0
Points
0
Im using a game creation program called RealmCrafter mmorpg that uses mysql server to play the games on, but i have a problem i cant conect to my sql database:lockd:. i have set up one whit an admin on this page. can any one help me?

i think i will have to install something on my computer to conect betwen my pc and the mysql server.

i hawe done a conection on an other host:nuts: but i think this is better and want my home page and the sql on the same place.

Chriz say thanks
 

Chris Z

Active Member
Messages
5,603
Reaction score
0
Points
36
1.) Go here.
2.) Download the latest compatible version to your computer.
3.) Open the setup file and install it
4.) Open up your Web Browser and go to http://localhost/phpmyadmin/
5.) Click on the Databases link.
6.) Type whatever you want into the text box, skip the Collation dropdown, and click "Create".
7.) Find the file that has something like this in it:
PHP:
<?php
mysql_connect('localhost','username','password');
mysql_select_db('database_name');
?>
8.) Keep the 'localhost' in there, change the 'username' to 'root' and leave 'password' blank, and replace 'database_name' with the name of the database that you created in step 6.
9.) Save the file.
10.) Do whatever your script tells you to do in order to set it up.
 
Last edited:

Brandon

Former Senior Account Rep
Community Support
Messages
19,181
Reaction score
28
Points
48
Are you trying to connect to the database from our server?
 
Status
Not open for further replies.
Top