Questions tagged [phpmyadmin]

phpMyAdmin is an open source tool written in PHP to handle administration of MySQL over the web. It can perform various tasks such as creating, modifying or deleting databases, tables, fields or rows; executing SQL statements; monitor MySQL health status, or managing users and permissions.

Filter by
Sorted by
Tagged with
0
votes
0answers
10 views

Join one row to multiple rows in another table

i have two tables "apartment" and rooms Apartment Table: id Apartment 1 abc Room Table: id apartment_id room_name 1 1 abc1 2 1 abc2 2 1 abc2 now I want to display 1 row in PHP but in ...
0
votes
0answers
9 views

Database not showing

I create a database in the terminal linux ubuntu,gave it all privileges,created the table,inserted the rows.When I open phpmyadmin the database isn't showing how do I connect them? I did use mysql -u ...
0
votes
0answers
35 views

Phpmyadmin : one to one relationship [closed]

I carried out EER diagram in MySQL workbench including different relationships: one to one, one to many, zero or one to one, zero or one to zero or one, and one to zero or many. However, when I apply ...
-1
votes
0answers
15 views

How do I insert a newly created Auto Increment value into another table? [migrated]

So basically, I'm creating a website which is for my tuckshop. And I want it so when the user clicks the "Payment Button", the code should create a new row in one table called "orders&...
1
vote
2answers
28 views

SQL - count rows with same value

I would like to group and list all the rows that have the same value (gruppo_muscolare.nome) and count how many values (esercizio.nome) are related to the same value, but if I use GROUP BY then I only ...
-1
votes
1answer
12 views

Can I use a string as an end of line delimiter when importing a .csv to MySQL?

Very basic question but I'm struggling with it. When importing a .csv file to MySQL, is it possible to use any character or string as an end of line delimiter? If so is it possible from the admin ...
0
votes
0answers
22 views

MySqL Select statement not working

Hello guys can someone help me, I create a two table and one of the table contains a foreign key, i have been trying to select the row that contains data in the table but instead MYSQL is give me only ...
1
vote
1answer
130 views

Missing Edit Privileges Option In PhpMyAdmin [closed]

The Action column of the PhpMyAdmin is not displaying the Edit Privileges. I did not get the solution for this problem. I even tried to upgrade and degrade the PhpMyAdmin version, but nothing worked. ...
0
votes
1answer
34 views

Insert mysql query results into database column with corrensponding ids

I'm trying to store some data from a temporary query into a table, but it doesn't work. Suppose we have the following data Table_A Submission_id Salesman Customer name Hobby Carline Fuel ...
-2
votes
2answers
209 views

MySQL Join two tables with comma separated values

I've got two tables as below: CARLINE option_value option_name tipologia_auto_1 Citycar tipologia_auto_2 Berlina tipologia_auto_3 SUV Hobby_1 football Hobby_2 Basket Datimarketing (is the ...
0
votes
2answers
103 views

how to find password for mySQL database server

How can I find the password for my database on phpMyAdmin? I want to connect mySQL database just by using mysqli_connect and understand that three strings are needed, but I can't seem to find where ...
0
votes
3answers
66 views

How can I make queries secret?

I have a project whose activity I need to keep private, and I'm not the server administrator. If my app updates a value for the user with id 1, it would probably say something like UPDATE 'users' SET '...
0
votes
1answer
58 views

phpmyadmin is no longer letting me set auto_increment value

I am following these instructions to reset the value of auto_increment to the last highest value using phpMyAdmin. Example: If I have this table and data: DROP TABLE IF EXISTS `Tbl_Lis_Agencias`; ...
1
vote
2answers
185 views

MYSQL Server shows it is master server in replication. How to turn off this?

I'm using Ubuntu 20.04 version. I have installed MySQL server using apt-get install mysql-server and used mysql_secure_installation for security. Then I have installed phpMyAdmin using apt-get install ...
0
votes
0answers
13 views

Deleted MySQL “root” user in phpMyAdmin through XAMPP local host…how to restore? [duplicate]

I was working in phpMyAdmin (XAMPP localhost) to add a user for a new database I created for a local WordPress website, and came upon the list of users named "root". Since I did not remember ...
0
votes
0answers
7 views

Before deleteion trigger for self joined table sub rows

I want to write trigger before deletion to delete sub-children from same mysql table. My table is samp_c: **ID** **Name** **key** **Sub-key** 1 sample1 ab 0 2 Sample2 bc ab ...
0
votes
2answers
120 views

Transpose rows data into columns in MYSQL

Please help me with the scrip that can change table1 into table2 given in the post. I wish to change the rows data into columns
-1
votes
1answer
87 views

Problem with mysql/data folder is too big and took the whole place

for the first time I am faced with such a problem that has puzzled everyone. I have all hosting busy (AWS lightsail) 78GB and after a few analyzes I realized that 90% of the memory is occupied in the ...
2
votes
2answers
56 views

#1194 - table 'user' is marked as crashed and should be repaired

I have problems getting into Mysql on phpmyadmin (mysqli_real_connect()(HY000/1130)Host 'localhost'is not allowed to connect to this MariaDB server ) I have found out its a crashed file in mysql ...
1
vote
1answer
44 views

PMA export with all attributes in CREATE TABLE

This is the default PMA output of an export: CREATE TABLE `foo` ( `id` int(11) UNSIGNED NOT NULL, `fk_id` int(11) UNSIGNED NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; ALTER TABLE `foo` ...
0
votes
0answers
12 views

click any database get error :- #1932 - Table 'ass_test.reg' doesn't exist in engine

HELLO, In phpmyadmin click any database show error :- #1932 - Table 'ass_test.reg' doesn't exist in engine how to solve this error. Please help me. THANKS.
0
votes
0answers
724 views

#1932 - Table '' doesn't exist in engine after accidental delete

I forgot to export my main table before deleting and reinstalling xampp. I recovered it from the recycling bin, but I get #1932 - Table '' doesn't exist in engine when I try to open any of the tables. ...
-2
votes
1answer
57 views

Multiple queries in phpmyadmin - Distance using coordinates, Slope, Intercept, Angle, and few more

I having around 500 excel sheets in .csv format with data captured for my experiment having following columns in place. Now I need to calculate the following parameters using this data. I have done ...
1
vote
1answer
59 views

How to calculate running balance for many accounts?

please help me fix query below to calculate running balance correctly. What I need to do is: Calculate running balance (debit- credit) by account_no Reset the balance when account_no changes Reset ...
0
votes
1answer
36 views

Display phpmyadmin export templates

phpmyadmin no longer displays the export templates section after an update Do you know how to display this section? Current phpmyadmin version 4.9.5deb2
0
votes
1answer
17 views

What settings to use to export mysql table rows that I'll be importing to another table with data using phpmyadmin

If I'm using phpmyadmin to manage mysql database, what settings should I use to export only two rows of data that I'll be importing to another table with the same name that contains many other rows? ...
1
vote
1answer
107 views

MySQL server keeps crashing every few minutes

I am having the hardest time tracking down this problem. Every few minutes or so my database server crashes so all 3 WordPress sites on my WHM cPanels all crash at the same time. When it does, I get ...
0
votes
0answers
293 views

Group by with Order by DESC not working using PHP MySQL codes

I have three tables, table one name (tbl_brands) with these columns: and second table name (tbl_loader_attachment) with these columns: and the third table name is (tbl_images) with these columns: I ...
1
vote
2answers
193 views

How to create a running balance column based on account number?

I have a stored procedure that returns account statement for one or multiple accounts Here is the part I have issues with: returning a running balance in each record based on account number. My query ...
0
votes
2answers
90 views

MySQL/PHP - SELECT DISTINCT column based on another column with ORDER and LIMIT

I have a table named messages that is as follows: +-----+-----------+-------------+-----+ | id | sender_id | receiver_id | ... | +-----+-----------+-------------+-----+ | . | . | ...
0
votes
1answer
44 views

Changing storage engine to InnoDb from MyIsam is dropping records from table

Currently our Database all tables are using MyIsam as a storage engine. We tried changing storage engine of our mysql tables from MyISAM to InnoDB from PHPMyAdmin operations tab. However during the ...
-2
votes
1answer
19 views

Random ID for database users

I need to create a table with a random generator ID for users including letters and numbers for example: FT128 instead of default auto-increment ID Thank you for any help.
0
votes
4answers
7k views

How to switch from MariaDB to MySQL in WAMP server?

I installed wamp server on my PC and by default wamp server is connected to MariaDB as showed below How can i switch to MySQL? Thank you in advance for your help.
-1
votes
1answer
73 views

MySQL tables_priv corrupted

I have a mysql database and i need to create an user for the login. This user need the privileges to only select on only one table where the login info are. on phpmyadmin when i use the gui i receive ...
0
votes
0answers
23 views

PHPMyAdmin #2002 error - fixed by restarting mysql but it occurs again

I have a LAMP server running MySQL and PHPMyAdmin. Yesterday I got the following error trying to login to PHPMyAdmin: #2002 - No such file or directoryThe server is not responding (or the local ...
0
votes
1answer
36 views

ORDER BY with IF-ELSE statement (DESC doesn't work)

Descending sort type does not work with this syntax, please help. <?php require_once("../connection/conn.php"); $compare = $_GET["sortfield"]; if(isset($_GET["sortfield"])){ if(isset($_GET["...
0
votes
1answer
701 views

Mysql 8 accidentally lost ROOT user all privileges in localhost wampserver 3.2

Mysql 8 root user all privileges lost.I changed some permissions from phpmyadmin. . After that all tables disappeared. I found this answer Lost All Privileges in MYSQL.but did'nt help me. I am using ...
0
votes
1answer
13 views

MySQL database getting connected with any username and password [duplicate]

We have a website running on an custom Ubuntu server managed and hosted by the client himself, since last two days the website database is getting hacked and someone deletes all the db tables from the ...
-1
votes
1answer
28 views

MySQL Table is Huge Where Only Text Values Are Stored

I am using LAMP Stack...And one of my db table wp_options (Rows: 10,600) is now about 194+ GB in size... Not sure why the size growing so much huge... As far as i am concern most of the records are ...
-2
votes
2answers
36 views

i want fetch json data in mysql [closed]

I am using MySQL version 5.6.41-84.1-log, I want to fetch single column of JSON data example: I want to fetch date only id | amount_detail ---------------- 1 | {"1":{"amount":"6000","...
0
votes
1answer
95 views

Unable to Join phpMyAdmin Using MySQL Defined User

I can login to mysql via the command line just fine, but when I try to log on to phpMyAdmin with the same password that worked in the cli, it won't allow me to connect and gives me: ...
0
votes
2answers
794 views

How to turn off autocommit in phpMyAdmin

I want to practice rolling back commands, savepoints and more on phpMyAdmin but I couldn't find a way to turn off autocommit in phpMyadmin. Currently I use the command SET autocommit = 0;. ...
0
votes
1answer
28 views

Local MySQL database check for changes

Me and my friend had a website. Before closing website he dumped MySQL Database from phpmyadmin and stores it locally on his PC. Now he send me sql file. Is there a way to see if he didn't change/add/...
1
vote
1answer
2k views

How to export specific columns from a SQL table

I am cleaning some data bases and was wondering that if there is any proper way to export any single column and all it's entries from a SQL table. Being specific, I am dealing with SQL tables in ...
-3
votes
1answer
91 views

Transfer Mysql table data to client Server via TCP/IP by using Trigger [closed]

i Have Database on MySQL Server. I have one Table so called "log" in Database. Data has been insert in Database table automatic. I would like to transfer table via TCP/IP to the another Software. ...
0
votes
1answer
189 views

MySQL Trigger: Insert depending on NEW.column of type enum

I am trying to add a trigger to one of my tables. Depending on a enum-value of the newly inserted row it should execute a different insert-query. I am using phpMyAdmin and am trying to execute my ...
0
votes
0answers
143 views

Why does PhpMyAdmin put the idexes at the end of a dump?

When I export a MySQL database with Adminer or with mysqldump, it produces a .sql file with each table definition followed by (if the table is non-empty) an INSERT statement (or multiple statements ...
0
votes
1answer
66 views

How to use a MySQL database both remotely and locally

I cannot find the best solution for my problem. I made a C++ application which runs on a Kiosk under Ubuntu that needs to store and retrieve data from a MySQL database and these same data need to be ...
0
votes
0answers
52 views

NULL queries getting stuck and using up connections

Running show processlist in phpmyadmin for me often shows queries with an Info of NULL and a Time of apparently a few seconds, but which have in fact been stuck there for a long time (each time I run ...
0
votes
0answers
253 views

Syntax error in WITH as PhpMyAdmin procedure

Good day. I have problems creating the following stored procedure in PhpMyAdmin 4.8.5 the query is as follows. Create Procedure sp_TPbalonmDcdos() WITH cte AS ( SELECT categoria,ndeporte,genero,...

1
2 3 4 5
7