Jump to content

Complete MySQL newbie


veryconscious

Recommended Posts

Afternoon all, how is everyone today?

I'm afraid I'm gonna ask a horrendously simple newbie question, but I've had a look around and couldn't see anything to answer it...

I'm just starting out with PHP/MySQL and although I've done a bit of PHP I've not tried to integrate it with MySQL yet. I'm bewildered already with this talk of "command line" and how to use phpmyadmin properly. I've installed phpmyadmin but it asks me for a username and password to log in, and frankly (this is where y'all get to ridicule the noob) I have no idea what username or password I need to enter. Is it something I need to set up whilst installing phpmyadmin?

I shall now go hang my head in shame, but anything you guys can do to help me get started on the rocky road to dynamic web nirvana would be much appreciated.

Big love.
Link to comment
Share on other sites

When you are logging in to PMA (phpMyAdmin) you provide the username/password details for the user you want to login to MySQL. MySQL sets up a default user during installation which is [b]root[/b] with no password setup.

So enter root for the username and leave the password field blank. You should now be logged in to phpMyAdmin. Your can set a password for the root user when you are logged in (this is recommended for security reasons). You can also setup more users too whilst logged in to PMA.
Link to comment
Share on other sites

Here is a good place to start learning on how to combine PHP with Mysql

[url=http://www.w3schools.com/php/php_mysql_connect.asp]http://www.w3schools.com/php/php_mysql_connect.asp[/url]

When you keep clicking [Next] on the bottom of the page from the link above it will show you more examples and info.

Good luck ;)
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.