Solved

MySql Database Installation

Posted on 2016-08-29
5
87 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

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

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…
When table data gets too large to manage or queries take too long to execute the solution is often to buy bigger hardware or assign more CPUs and memory resources to the machine to solve the problem. However, the best, cheapest and most effective so…
The purpose of this video is to demonstrate how to Test the speed of a WordPress Website. Site Speed is an important metric of a site’s health. Slow site speed can result in viewers leaving your site quickly and not seeing your content. This…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

691 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