?
Solved

MySql Database Installation

Posted on 2016-08-29
5
Medium Priority
?
88 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 2000 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: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering 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

Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
In this blog, we’ll look at how improvements to Percona XtraDB Cluster improved IST performance.
This video shows you how easy it is to boot from ISO images for virtual machines with the ISO images stored on a local datastore on the ESXi host.
The is a quite short video tutorial. In this video, I'm going to show you how to create self-host WordPress blog with free hosting service.
Suggested Courses

770 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