0% found this document useful (0 votes)
2 views

Xammp database

The document details a series of commands executed in a MariaDB environment on a Windows system. It includes attempts to connect to the database, create databases, and manage user permissions, highlighting both successful and failed operations due to access issues. The final commands show the creation of a new user and successful connections to the database monitor.

Uploaded by

fredynkapa
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views

Xammp database

The document details a series of commands executed in a MariaDB environment on a Windows system. It includes attempts to connect to the database, create databases, and manage user permissions, highlighting both successful and failed operations due to access issues. The final commands show the creation of a new user and successful connections to the database monitor.

Uploaded by

fredynkapa
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

Microsoft Windows [Version 10.0.19045.

5487]
(c) Microsoft Corporation. All rights reserved.

C:\Users\KTJC.CAPO>mysql
ERROR 1045 (28000): Access denied for user
'KTJC.CAPO'@'localhost' (using password: NO)

C:\Users\KTJC.CAPO>mysql -uroot -p
Enter password:
Welcome to the MariaDB monitor. Commands end with ;
or \g.
Your MariaDB connection id is 27
Server version: 10.4.32-MariaDB mariadb.org binary
distribution

Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab


and others.

Type 'help;' or '\h' for help. Type '\c' to clear the current
input statement.

MariaDB [(none)]> create ddatabase swe1;


ERROR 1064 (42000): You have an error in your SQL
syntax; check the manual that corresponds to your
MariaDB server version for the right syntax to use near
'ddatabase swe1' at line 1
MariaDB [(none)]> create database swe1;
Query OK, 1 row affected (0.008 sec)

MariaDB [(none)]> quit


Bye

C:\Users\KTJC.CAPO>mysql -upma -p
Enter password:
Welcome to the MariaDB monitor. Commands end with ;
or \g.
Your MariaDB connection id is 66
Server version: 10.4.32-MariaDB mariadb.org binary
distribution

Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab


and others.
Type 'help;' or '\h' for help. Type '\c' to clear the current
input statement.

MariaDB [(none)]> create database swe2;


ERROR 1044 (42000): Access denied for user
'pma'@'localhost' to database 'swe2'
MariaDB [(none)]> create database swe2;
ERROR 1044 (42000): Access denied for user
'pma'@'localhost' to database 'swe2'
MariaDB [(none)]> quit
Bye

C:\Users\KTJC.CAPO>mysql -upma -p
Enter password:
Welcome to the MariaDB monitor. Commands end with ;
or \g.
Your MariaDB connection id is 75
Server version: 10.4.32-MariaDB mariadb.org binary
distribution

Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab


and others.

Type 'help;' or '\h' for help. Type '\c' to clear the current
input statement.

MariaDB [(none)]> create database swe2;


Query OK, 1 row affected (0.008 sec)

MariaDB [(none)]> create user jostel@'localhost';


Query OK, 0 rows affected (0.105 sec)

MariaDB [(none)]> quit


Bye

C:\Users\KTJC.CAPO>mysql -ujostel -p
Enter password:
Welcome to the MariaDB monitor. Commands end with ;
or \g.
Your MariaDB connection id is 100
Server version: 10.4.32-MariaDB mariadb.org binary
distribution

Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab


and others.

Type 'help;' or '\h' for help. Type '\c' to clear the current
input statement.

MariaDB [(none)]>

You might also like