pinochio Posted September 29, 2009 Share Posted September 29, 2009 This is what i receive when im trying to run my application: Error code 2005:Unknown MySQL server host 'root' (11004) How can i fix it?? Thank you!!! Link to comment https://forums.phpfreaks.com/topic/175898-unable-to-connect-to-mysql/ Share on other sites More sharing options...
Garethp Posted September 29, 2009 Share Posted September 29, 2009 Well, you got the server host wrong. Show us the ode you're using. Also, you need to know the correct login details for your Database Link to comment https://forums.phpfreaks.com/topic/175898-unable-to-connect-to-mysql/#findComment-926866 Share on other sites More sharing options...
pinochio Posted September 29, 2009 Author Share Posted September 29, 2009 Do i need to create a database before i run application ( i thought that my application will create a database) ? Link to comment https://forums.phpfreaks.com/topic/175898-unable-to-connect-to-mysql/#findComment-926880 Share on other sites More sharing options...
Calver Posted September 29, 2009 Share Posted September 29, 2009 Yes, you need to create the database and add one or more tables to it. You can do this in phpMyAdmin, or in code. Link to comment https://forums.phpfreaks.com/topic/175898-unable-to-connect-to-mysql/#findComment-926888 Share on other sites More sharing options...
redarrow Posted September 29, 2009 Share Posted September 29, 2009 Not all php applications like phpmyadmin have a install file but there are a lot with... watch all the video's your get there.... http://video.google.co.uk/videosearch?hl=en&source=hp&q=how+to+use+phpmyadmin&um=1&ie=UTF-8&ei=bqXBSq-5N4m04Qbi75WLCA&sa=X&oi=video_result_group&ct=title&resnum=10# your need this linkl to learn php mysql css html xhtml xml javascript ajax sams books recon 10 minutes will master each subject so in 80 minutes your be a master off all........ http://www.w3schools.com/default.asp Link to comment https://forums.phpfreaks.com/topic/175898-unable-to-connect-to-mysql/#findComment-926889 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.