Solved

MySql Database Installation

Posted on 2016-08-29
5
80 Views
Last Modified: 2016-09-19
Hi All ,

I want to install my sql Db on an ubuntu server. No idea how to do this. Never installed sql. Also how to define below:

    /** The name of the database for WordPress */
    define;

    /** MySQL database username */
    define;

    /** MySQL database password */
    define;

    /** MySQL hostname */
    define
0
Comment
Question by:Techie solution
  • 2
  • 2
5 Comments
 
LVL 25

Accepted Solution

by:
SStory earned 500 total points
ID: 41775063
Why is this labeled Windows OS  if you want to do it on Ubuntu?

from a command prompt:

   
    sudo apt-get update
    sudo apt-get install mysql-server
    sudo mysql_secure_installation
    sudo mysql_install_db

Open in new window



There is plenty on configuring that you can Google for a step by step after that.

As to how to define everything, you have not even told us what you are trying to define it on.  If you are setting up wordpress there are also plenty of tuturials for that at codex.wordpress.org.  Without more detailed information you won't get much more of an answer.
0
 

Author Comment

by:Techie solution
ID: 41779866
wHAT IS THE USE OF BELOW

** The name of the database for WordPress */
define('DB_NAME', 'databasNAme');


/** MySQL database username */
define('DB_USER', 'username');


/** MySQL database password */
define('DB_PASSWORD', 'pasword');


/** MySQL hostname */
define('DB_HOST', 'localhost');
0
 
LVL 25

Expert Comment

by:SStory
ID: 41780390
I would imagine by looknig that you are supported to change 'databasename' to be the actual database name, username to be the actual database user name and password to be the actual database password since this script has no idea what those values might be. I'd also say that if running on the same machine that local host is good, if however, the MySQL is on another machine change localhost to the FQDN of the server, or its IP address.
0
 

Author Closing Comment

by:Techie solution
ID: 41804847
Thank You all.
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article, I will show you HOW TO: Suppress Configuration Issues and Warnings Alert displayed in Summary status for ESXi 6.5 after enabling SSH or ESXi Shell.
In this article, I will show you HOW TO: Perform a Physical to Virtual (P2V) Conversion the easy way from a computer backup (image).
The purpose of this video is to demonstrate how to reset a WordPress password if you are locked out and cannot reset the password. A typical use would be if you cannot access the email to which WordPress would send the password recovery email to…
This Micro Tutorial steps you through the configuration steps to configure your ESXi host Management Network settings and test the management network, ensure the host is recognized by the DNS Server, configure a new password, and the troubleshooting…

896 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now