phpmyadmin

XAMPP phpmyadmin mysql user manual?

This is actually 2 questions... Background: After using the command line in MySQL for my database introductory classes (very enjoyable), I had been required to use a DBA tool and downloaded XAMPP as identified below. The transition to a GUI would be ok if I understood the interface for creating database tables... Q1.I have searched the ...

my.cnf mysql phpmyadmin

Hi, Problems:- Whenever I try to select all tables in a database the connection is just lost and unknown error is given by the server to the browser and the browser just reloads with its own error page stating that the server gave unknown error. (This is in phpmyadmin) I tried to solve this by adding max_allowed_packet to my.cnf first ...

phpMyAdmin disable admin login

Hi, I have Ubuntu, and installed the phpMyAdmin package (currently 4:3.3.2-1). Every 30 minutes, it asks me to enter my username and password, for inactive session timeout. In earlier version of phpMyAdmin, setting a user/pass would entirely skip this login form and keep the session open indefinitely. This installation is on a dev machin...

PHPMyAdmin cannot connect to MySQL

I installed the lampp sever on my local in linux OS, but its giving error while opening phpmyadmin. #2002 - The server is not responding (or the local MySQL server's socket is not correctly configured) ...

is there a way to view past mysql queries with phpmyadmin?

i'm trying to track down a bug that's deleting rows in a mysql table. for the life of me i can't track it down in my php code, so i'd like to work backwards by finding the actual mysql query that's removing the rows. i logged in to phpmyadmin, but can't find a way to view the history of past sql operations. is there a way to view t...

How to Execute MySql Update Query from PHP Form

I am very new to PHP and SQL. I have table that needs to be updated whenever a record is inseted into another table. My query works great when I run it directly in the database but I want to include it in a php form so that it will run whenever the user enters a new record. I investigated the use of a trigger but apparently the trigge...

MySQL dump file and commented out lines

I have these lines at the top of a MySQL .sql file (dumped with phpMyAdmin): /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8 */; But they all seem to be comment...

How to convert query from phpMyAdmin SQL Dump to an sql server legible query

Hi all, I have undertaken a small project which already evolved a current database. The application was written in php and the database was mysql. I am rewriting the application, yet I still need to maintain the database's structure as well as data. I have received an sql dump file. When I try running it in sql server management studi...

how to delete duplicate rows from a table in mysql

I need to delete duplicate record from table in mysql. So i have a table name "employee" fields are empid, empname, empssn for getting duplicate record i have written a query SELECT COUNT(empssn), empssn FROM employee GROUP BY empssn HAVING COUNT(empssn)>1 Now i want to delete duplicate records. for that i have wr...

PHP - Parsing an uft-8 file and inserting it to database gives messes up the special chars like é

On a webserver, I have a php script that parses a .sql file (which is stored directly on the server), and executes the queries on a mysql database. I have a lot of french characters that doesn't insert well: é becomes é. When I open the sql file with notepad++, I see that the encoding is "uft-8 without BOM". My script looks like thi...

How to export multilingual MySQL table to Excel without garbled text (e.g. à¹à¸­à¸™à¸™à)?

I have a MySQL table where I store text entered in any kind of language. The text is displayed correctly on the website, example but when I export the data to Excel I get garbled text. I tried exporting the data via PHPMyAdmin and even just doing something from the command line like mysql -user -p db < query.sql > export.tsv and I get...

phpmyadmin error "#1062 - Duplicate entry '1' for key 1"

I dropped all tables from a database then restore(import) a backup. and getting this error. Should i repeat the process. or something else? Why this error is coming? ...

How to configure the structure of a mysql database

Is it possible to restore the previous state of a mysql database through phpmyadmin? I have one column in 4 of the tables that have the auto increment. And my problem is how to begin again in the count of number 1 when I try to add a data. I tried deleting all the records then add a record but it doesn't start with 1. How do I do this w...

How do I fix my MySQL server.

I use a local Apache server for many things, but I never really had a use for MySql. I recently decided to keep a local copy of Wordpress, so I installed MySql. I tried to install PHPMYADMIN, but every time I tried to log on I got a blank screen. I tried with good and bad credentials and even the CONFIG mode. I even did the same thing w...

phpMyAdmin error #1062 - Duplicate entry '1' for key 1

I am not sure why I am getting this error #1062 - Duplicate entry '1' for key 1 cany any one help explain what it means. Thanks ...

How to fill a column based on first column

I am making a mySQL table which lists ~70 products and information on whether they are compatible or not. For the sake of simplifying the question, I will pretend there were only four products. Product1 Product2 Compatible? A A Yes A B No A C Maybe A D ...

MySQL joins with WHERE clause

I have 2 queries which display 2 different values but the results from one query are unexpected. Query1: SELECT SUM(T.amount_reward_user) AS total_grouping FROM fem_user_cards UC LEFT JOIN fem_transactions T USING(card_number) LEFT JOIN fem_company_login FCL ON T.fem_company_login_id=FCL.fem_co...

SQL Load Data Special Characters

I'm trying to import data into SQL from a CSV in PHP My Admin so it may be a PHP My Admin problem. The problem i'm having is that some of the columns use special characters for instance: "Adán, Antonio" Ends up as just "Ad". The column structure is as follows: CREATE TABLE IF NOT EXISTS `players` ( `player_name` varchar(255) COLLA...

how get get data from mysql server to xcode

hi all, i've been writing apps for about 8 months and have recently gotten interested in updating a database via myphpadmin and then retrieving the data to my application. more specifically, i developed a website that updates student attendance records, updated daily by the "teacher". i want the "parents" to be able to download my app...

PHP: What do you use to write it?

Possible Duplicate: What is the best IDE for PHP ? Hello again everybody, I finish my work placement next week and have over a month off before I start my studies again. Being the super cool party animal that I am I have decided to use the time getting a firmer grip on PHP. I recently bought the highly recommended book 'PHP ...