New Users: Quick MySQL Info

From The Uniform Server Wiki
Jump to navigation Jump to search

MPG UniCenter

New Users: Home | Quick MySQL | Quick MySQL Info

Quick MySQL 3.5-Apollo

This page contains snippets of information linked from MySQL new user pages. Hence they are in no particular order.

How to enable MySQL

MySQL sever is enabled and configured by default, when you run the servers both Apache and MySQL are started hence nothing to do


MySQL Password & PHP Connect Info

  • mysql_connect($dbhost, $dbuser, $dbpass)
  • $dbhost  Host name: The server is running locally on Uniserver hence can be either localhost or 127.0.0.1
  • $dbuser  User name: Uniserver default is root
  • $dbpass  User password: Uniserver default is root Please change MySQL root password ASAP

Note: Windows 7 users

  • For $dbhost use 127.0.0.1 and not localhost

If you wish to use localhost check out MySQL host name 127.0.0.1 or localhost for a solution

Top


Ric