New Users: Quick MySQL Info: Difference between revisions

From The Uniform Server Wiki
Jump to navigation Jump to search
mNo edit summary
 
Line 27: Line 27:
:* '''$dbuser'''  '''''User name''''': Uniserver default is '''root'''
:* '''$dbuser'''  '''''User name''''': Uniserver default is '''root'''
:* '''$dbpass'''  '''''User password''''': Uniserver default is '''root''' — '''[[New Users: Security#MySQL Server Configuration | Please change MySQL root password ASAP ]]'''
:* '''$dbpass'''  '''''User password''''': Uniserver default is '''root''' — '''[[New Users: Security#MySQL Server Configuration | 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 [[5.0-Nano: Known Issues#MySQL host name 127.0.0.1 or localhost | MySQL host name 127.0.0.1 or localhost]] for a solution


'''''[[#top | Top]]'''''
'''''[[#top | Top]]'''''

Latest revision as of 16:08, 2 July 2010

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