Solved

MySql Database Installation

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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Running Baan iV on VMware 3 72
LINUX, CPANEL & WHM 5 21
linux boot fsck problem 3 43
Windows DHCP server in virtual environment 3 55
Last article we focus in how to VMware: How to create and use VMs TAGs – Part 1 so before follow this article and perform the next tasks, you should read the first article how to create the TAG before using them in Veeam Backup Jobs.
This article will show you how to create an ISO CD-ROM/DVD-ROM image (*.iso), and MD5 checksum signature, for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5). It's a good idea to compare checksums, because many installations fail because of a corr…
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…
The purpose of this video is to demonstrate how to integrate Mailchimp with WordPress, by placing a Mailchimp signup form on a WordPress Page or Post. This will be demonstrated using a Windows 8 PC. Mailchimp will be used. Log into your Mailchi…

706 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

20 Experts available now in Live!

Get 1:1 Help Now