100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
RHCE Quiz Questions and Answers All Correct $13.49   Add to cart

Exam (elaborations)

RHCE Quiz Questions and Answers All Correct

 7 views  0 purchase
  • Course
  • RHCE
  • Institution
  • RHCE

RHCE Quiz Questions and Answers All Correct How do you create a database? - Answer-CREATE DATABASE db_name; How do you delete a database? - Answer-DROP DATABASE db_name; How do you manipulate a database? - Answer-1. SHOW DATABASES; 2. USE db_name; What CMD is used to connect to MariaDB l...

[Show more]

Preview 1 out of 3  pages

  • August 18, 2024
  • 3
  • 2024/2025
  • Exam (elaborations)
  • Questions & answers
  • rhce
  • rhce quiz
  • RHCE
  • RHCE
avatar-seller
Scholarsstudyguide
RHCE Quiz Questions and
Answers All Correct
How do you create a database? - Answer-CREATE DATABASE db_name;

How do you delete a database? - Answer-DROP DATABASE db_name;

How do you manipulate a database? - Answer-1. SHOW DATABASES;
2. USE db_name;

What CMD is used to connect to MariaDB locally? - Answer-mysql --user root --host
127.0.0.1 --Port 3307 -p
another way: mysql -uroot -proot -e "select @@version;"

Once connected to MariaDB, how do you go about creating a DB with tables? - Answer-
1. CREATE DATABASE myapp;
2. USE myapp;
3. CREATE TABLE widgets (id INT AUTO_INCREMENT, name VARCHAR(255),
PRIMARY KEY (id));
4. SHOW TABLES;

In SQL, what does CRUD refer to? - Answer-Create Read Update Delete which by SQL
std's is: INSERT, SELECT, UPDATE, DELETE

How would you add a value to table in MariaDB? - Answer-INSERT INTO table_name
(field1, field2) VALUES ('a', 'b');

What are iniitial steps to setting up mariadb? - Answer-1. Install via: yum install -y
mariadb mariadb-server
2. systemctl enable --now mariadb
3. mysql_secure_installation

What file would you edit to change default port for MariaDB? - Answer-/etc/my.cnf
and add under [mysqld]:
port = 4406

How would you allow firewall access for the new port of 4406 on my MariaDB? -
Answer-firewall-cmd --permanent --add-port=4406/tcp
firewall-cmd --reload

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller Scholarsstudyguide. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $13.49. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

81113 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling
$13.49
  • (0)
  Add to cart