Crew-Portal Posted June 2, 2007 Share Posted June 2, 2007 K Im sorry if this sounds n00bi3 but 1. How do you create a MySQL Database?? 2. How Do You Assign A Password And Username To It?? 3. How Do You Access It?? Once Again Sorry That Im Stupid, But All Responses Will Help! Quote Link to comment https://forums.phpfreaks.com/topic/53932-creating-database/ Share on other sites More sharing options...
penguin0 Posted June 2, 2007 Share Posted June 2, 2007 Depending if you are using your home computer, or something remote you can use phpmyadmin. If you are using a home computer as a server you have to install phpmyadmin on it. A good place to start: http://us2.php.net/mysql_create_db Quote Link to comment https://forums.phpfreaks.com/topic/53932-creating-database/#findComment-266663 Share on other sites More sharing options...
Crew-Portal Posted June 2, 2007 Author Share Posted June 2, 2007 K I read over it and I get an error Fatal error: Call to undefined function mysql_connect() in C:\Program Files\Apache Group\Apache2\htdocs\SQL\_CreateMySQL.php on line 2 I have no clue how to know what my username and password is and Im not sure if mysql is running on my pc but there is a program running in my tasks labelled mysqld-nt if this is the mysql it is runing but I have no clue what in the wold i am doing wrong I am going crazy over this I have a book that I have been reading Php, Mysql, and apache and the Php part is working fine if not better than fine but perfect but all of the MySQL functions I get errors! I am getting so mad! Why cant I create a mysql database! Could someonee post instructions in basic terms cause Im still a n00bi3 at this! Please And Thank You Help A Programma' Out! Quote Link to comment https://forums.phpfreaks.com/topic/53932-creating-database/#findComment-266669 Share on other sites More sharing options...
penguin0 Posted June 2, 2007 Share Posted June 2, 2007 an easier way if you are using your home computer to test php / mySQL. Make sure they are both installed, and download and install this: http://sourceforge.net/project/downloading.php?groupname=phpmyadmin&filename=phpMyAdmin-2.10.1-english.zip&use_mirror=easynews if you have any problems using phpmyadmin look at the docs: http://www.phpmyadmin.net/home_page/docs.php Quote Link to comment https://forums.phpfreaks.com/topic/53932-creating-database/#findComment-266680 Share on other sites More sharing options...
farkewie Posted June 2, 2007 Share Posted June 2, 2007 i recomend if is just a testing server to install something like 'XAMPP' http://www.apachefriends.org/en/xampp-windows.html MySQL 5.0.41 PHP 5.2.2 PHP 4.4.7 phpMyAdmin 2.10.1 2 mins .msi installer and everything is ready to go Quote Link to comment https://forums.phpfreaks.com/topic/53932-creating-database/#findComment-266879 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.