localhost/phpmyadminopen http://localhost/phpmyadmin/ ➚
http://localhost/phpmyadmin is a part of localhost database administration software (phpmyadmin) url login address. You can enter the address from http://localhost/phpmyadmin or you can use the following terminal input tool (web-based viewer).
What is PhpMyAdmin and how to use ?PhpMyAdmin is a web database management software written by php script. Phpmyadmin also be used in database management and maintenance tasks as well as a powerful SQL queryer. Only way to run PhpMyAdmin is to pull these two programs from http://www.apache.org and http://www.mysql.com and install your machine. It can be difficult to set them up one by one by setting apache2triad, phptriad or easyphp so that you can set them all in batches and in a fixed layout. Anyway, after the installation is over, you can launch the Apache Web server to http: //localhost/phpmyadmin address. On the left side of the PMA's welcome screen is a list of the databases defined in the system, with the active operations in MySQL memory and the tasks performed at that time. The database operations in the left menu will only appear as test and MySQL for a newly installed MySQL installation. By clicking on the names of these databases on the left side, you can reach the tables screen in the database and at the same time the names of the tables under the database will appear on the left side. It is possible to see the answers to send queries via PMA from the database by means of the browser from PMA in the same way by writing SQL clauses in the text field located in the middle window.
CREATING DATABASE IN PMAIt is possible to perform all database operations from the interface of Pma's Web browser. In the database hierarchy, the topmost database contains tables and fields, respectively. To create a database on Pma, it is enough to write a database name on the Create new database line on the main screen of Pma . As a name, it is necessary to use a sheep starting with a letter (not a number). For example, the first database is created in the system by giving the name startdb as the name. The created database is located in the left menu in Pma. If MYSQL was newly installed in the system, the left menu will list the newly created database, then the MySQL and StartupDB databases.
CREATING TABLES IN PHPMYADMINThere are no tables under a newly created database. Once you have created the database, it will be ready to create the tables that will contain the information to be stored under the StartupDB database. The most important thing to know about table creation is that it can be stored and misuse of storage space.
In order to create a table in the Pma interface, all you need to do is to enter the name of the partition table that says Create new table on database start in the right menu and the name of the table space in the Fields line underneath , by selecting StartdbDB as the database name from the left menu
We can store the name, surname, e-mail and gender information from a form on a web page. To create a table named users, you can use the table name in Pma and the number 5 in the row of the field number the first tablon is created.
In the page that comes up on the screen, the properties that will be included in the 5 adtes field will be specified in the username table to be created. We will create 5 properties of the information to be stored in the field. In the user table we will create, we store four different information such as first name, last name, email and gender. The aim is to give a sequence number to each name and lineage so that it is easy to access the information later. The name of the first field is given by typing in the userid line of the first information field on the screen. The userid field is chosen to store a number in the INT for a number hold only of a user. By selecting the auto_increment feature from the Extra menu, each row inserted into the database is autotomatically created to create its own userid value.
Then, for the field where the web name information is stored, the name of the field name is selected as Varchar. On the same line, the length / set section is entered with! & As the maximum number of letters that the name information can take. Similarly, for the surname field, the field name and surname are set to varchar and the value 16 is entered. The e-mail addresses are stored in the Varchar field and the Length / Set field in the e-mail address field. If an email address contains more letters, the first 50 letters will be stored.
A specific field type is selected in the field where tabloda gender information will be stored. If desired, this field may be preferred as varchar as well as name, surname and e-mail information, but Enum type is more useful in terms of performance and storage characteristics. In order to prepare the field for storage of gender information, 'g' in the field name, 'e', 'k' in Lenght / Set section is selected by selecting Enum in the type line. The letters e and k in single quotes represent male and female genders.
When the Save key is pressed to create a table, a message is displayed on the screen indicating that the user table has been created, and SQL commands are required to create the same table. The same table can then be reconstructed using the following commands:
CREATE TABLE users (kullaniciid INT NOT NULL AUTO_INCREMENT, name VARCHAR (16) NOT NULL, name VARCHAR (16) not null, VARCHAR email (50) not null, gender ENUM ( 'e', 'k') not null, PRIMARY KEY (userid))
BROWSING AND MODIFYING TABLES IN PMA
After selecting the database name from the left menu that needs to be done to browse the databases via Pma or PHP, click on the Browse button next to the table name. If you want to browse the stored information in the user table that was previously entered as trial information, you can click on the Browse link and all the entered information can be displayed on the screen. There is a record entered on each line. The Edit and Delete bindings on the same row of these records are used in order to change and delete the information of that record. It is enough to click the Delete link to delete the record from the table. Click the Edit link to change the information for a contact.
SELECTION OF SOME INFORMATION IN THE TABLES IN PMA
If there are dozens of tables, it can sometimes be difficult to browse all of the areas together. Some areas that provide a certain condition have the Select property to be registered in Pma. After selecting the database name from the menu on the left side, the Select link next to each table name gives the user the ability to select some fields and list them according to a binary criterion. When the Select link is clicked, the topmost information box has the field names of the table. All or some of these names are selected by holding down the Control key and clicking. Then enter the desired criteria in the field name and Value lines at the bottom of the page. For example, in the previously created user table, the letter k is written on the gender line to select records with gender female, k. By clicking the Go button on the screen,
In some cases, it may be necessary to search for records that contain only a certain syllable. For example, you may need to search for users whose last name is suffixed.
In this case, the% sign is used in the operating system just like * wildcard in file searches. For records that begin with syllables as syllables, the% is written in the% syllable field for% records for all traversed syllables, and% syllabus for concurrent records. %% core% core% and% core layers.
BACKUP AND DELETE DATABASE IN PMA
Pma, with its powerful management features, allows you to retrieve the backup of the database in the system and to delete the databases. Selecting a database name from the left menu brings up a number of options for getting a backup of the database underneath the table names. Structure only, located under the View dump (schema) of database line, ensures that the database is backed up only as empty tables. It is useful when you need to move the ready-made database skeleton to another location, without having to retrieve the random entries in a database.
The Structure and data option is used to move all tables and fields in the database, along with the records within them, to another location. Once these options are selected, the Go key is pressed to populate the SQL backup screen required to move the records in the database to another database. To save the SQL backup to a file, select the Send option and press the Go button.
In cases where the database needs to be deleted, the Drop database link on the same screen should be used. When this link is clicked, the user will be prompted to delete the database. Drop operation should be used with caution, since the table in the database will cause all records to be deleted so that they can not be used again.
USING SQL COMMAND IN PMA
Pma allows master database users to use SQL. In the main page where the database information is located, the text in the center can be executed by writing the required SQL commands in the input field of the information. When SQL commands are entered incorrectly, MYSQL error messages can be displayed to the user via Pma. When it is desired to delete data using SQL, Pma will ask the user for confirmation to prevent data being erased as a result of an incorrect operation. Previously prepared SQL statements can also be called from an external file using the Browse key under the SQL run text field.
Using Pma it is possible to load database backups directly into the empty database using this feature.
The most important part we came up with!
Categories in the Table
Recognizing the need to create table space types and values can take ..
Local Hosting Server File Location & Connection Ports
localhost:631 ⟷ localhost:4000 ⟷ localhost:5557 ⟷ localhost:11501 ⟷ localhost:3010 ⟷ localhost:3306
localhost/wordpress ⟷ localhost/wordpress/wp-admin ⟷ http://localhost/mysql