Cant get past this little part

G

Guest

Guest
ok, i'm running all this off my own computer. WinXP with apache 1.3.x. How can i create a database? So far I've searched online and found these answers:

1. create through a php page

2. create through phpmyadmin

3. create through dos prompt


But i had problems with all three respectively

1. Warning: MySQL Connection Failed: Can't connect to MySQL server on 'localhost' (10061) in c:\dn\nuclub\datatest.php on line 5
Unable to select database

2. couldnt get phpmyadmin to work

3. dos prompt didnt know what it was
-----------------------------

I know i have mysql installed because phpinfo says its cool. Something i thought i noticed while looking around in different tutorials was that something was always mentioned about connecting to a database first. How can you connect to a database that isnt created yet. And one of them said that i need to "know my username and password" dont i have to create a username and password first? All i want to do is create a database through a php page.
 
Hello, whitchman!

There is very useful Utility WinMySQLAdmin which is located in /mysql/bin directory. With it you can view status of your MySQL Server and set or change your username and password.

To install phpmyadmin you need to change it's configuration file. there you need to set up your login/password.

--------------------------------------------------------------------
Bereza Nikita
Rapid Internet Development Department
E-mail: nike@alarit.com
Alar Information Technologies,
http://www.alarit.com
 
Back
Top