Solved

MySql Database Installation

Posted on 2016-08-29
5
84 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

If we need to check who deleted a Virtual Machine from our vCenter. Looking this task in logs can be painful and spend lot of time, so the best way to check this is in the vCenter DB. Just connect to vCenter DB(default DB should be VCDB and using…
This article shows the steps required to install WordPress on Azure. Web Apps, Mobile Apps, API Apps, or Functions, in Azure all these run in an App Service plan. WordPress is no exception and requires an App Service Plan and Database to install
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…
The purpose of this video is to demonstrate how to set up an RSS Feed on a WordPress Website. This will be demonstrated using a Windows 8 PC. Feedburner will be used for this demonstration. Go to your WordPress login page. This will look like the…

733 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