phpmyadmin

Is there a tool like phpMyAdmin which can be configured to access just a single database?

Is there a tool like phpMyAdmin which can be configured to access only a single MySQL database in a server? I cannot use phpMyAdmin because it allows access to all databases. A view that can allow a user to create/delete/insert/update tables should do. I remember using a software similar to this but dont remember what it was. It would a...

How do I write an SP in phpMyAdmin (MySQL)?

How do I write a stored procedure in phpMyAdmin? ...

Virtuemart databse connection in Joomla 1.1

Hi All, I'm modifying the Product Form to add in a field that allows a tagline for products. In the database, I've created a new field in the jos_vm_product table and added an entry in the $fields array in the ps.product.php file. In my product.product_form.php file I've used this code to insert the tagline into the database: <textare...

How to import text file to table with primary key as auto-increment

I have some bulk data in a text file that I need to import into a MySQL table. The table consists of two fields .. ID (integer with auto-increment) Name (varchar) The text file is a large collection of names with one name per line ... (example) John Doe Alex Smith Bob Denver I know how to import a text file via phpMyAdmin however...

Is there a way to set the initial count of an auto_increment field with phpMyAdmin?

I know in an actual query, you can use auto_increment=1 but how is this set with phpMyAdmin? Is it even possible? ...

Phpmyadmin foreign key drop-down field help

Hey guys i'm using phpmyadmin (php & mysql) and i'm having alot of trouble linking the tables using foreign keys. I'm getting negative values for the field countyId (which is the foriegn key). However it is linking to my other table fine and it's cascading fine. So when I go to add data there will be a drop box for the CountyId and the...

Setting an empty default value for a char-column in MySQL?

Hi In phpMyAdmin I have a char(32) column that has no default value(ie. Default: None). When I try to insert data through a SQL query, it throws out an error saying that the column "doesn't have a default value". I need it to be empty, so instead I've just set it's default value as "As defined: " and then nothing in the value field. Is ...

I broke my Mysql View query. How do I fix it?

A few months ago I created a VIEW that gives me last month's transactions. I use that view within other queries. The problem is, I changed some table names of tables that are referenced inside the VIEW and have broken the VIEW query in the process. Now my other queries don't execute anymore. Is there any way to see what the VIEW st...

mysql encoding problem

i have a proble, when insert something in foreign language into database. i have set the collation of database to utf8_general_ci(try utf8_unicod_ci too). but when i insert some text into table, it was saved like this Õ€Õ¡ÕµÕ¥Ö€Õ¥Õ¶ Ô±Õ¶Õ¸Ö‚Õ¶ but when i read from database, text shows in correct form. it looks like that only in datab...

mysql database that can be accessed over a vpn?

I have 2 computers. Both with w7 as os. I have installed wampserver on one of them. I have mysql database on wampserver. Then I have made a vb.net program to connect to mysql database. I have put the program on both computers. What I want to do is for those two programs to see the same database that is on one computer. For them to be abl...

Automatic authentication in PHPMyAdmin

Hello! I have a local phpMyAdmin (installed via apt-get) adn I'm tired of entering login and password every time I try to open it. Database contains no sensitive info, just test tables, and is visible only from 127.0.0.1 I want phpMyAdmin already be logged in as root user with password 1234 (for example) when I open it. How do I do tha...

Is there any free tool for profiler of MYSQL database?

Is there any free tool for profiler of MYSQL database? I want to capture the SQL statement from application. and want to tune it for performenencae. Can any one suggest? Thanks, Paresh ...

how to select all the data from many tables?

how to select all the data from many tables? i try `"SELECT * FROM `table1`, `table2`"` , but result none understandable for me. it returns only some rows from table1, and 3 times all the data from table2. i've red one same question here, but don't understand the answer. so could you help me? thanks in advance. update: when i try ...

Cannot login with PhpMyAdmin on Mac os x 10.6. Does anyone know a fix to this error message?

Hi, I just reinstalled Mac Os X 10.6.2 and had to reinstall/update my MySQL server. I run phpMyAdmin inside my localhost and I used to be able to login without a hitch. Since the updated (latest version MySQL 5.1.45 & PMA 3.3.1) versions I only get the following error when trying to login with phpMyAdmin: phpMyAdmin - Error Cannot st...

How Can I Delete The Contents Of All Tables In My Database In phpMyAdmin Without Dropping The Database?

How Can I Empty The Contents Of All Tables In My Database In phpMyAdmin Without Dropping Any Of The Tables In The Database? Since I Do This Several Times An Hour While In Development, I'd Rather Not Individually Click "Empty" On All 60+ Tables Every Time. Thanks In Advance. ...

Wordpress SQL Select Multiple Meta Values / Meta Keys / Custom Fields

I am trying to modify a wordpress / MySQL function to display a little more information. I'm currently running the following query that selects the post, joins the 'postmeta' and gets the info where the meta_key = _liked function most_liked_posts($numberOf, $before, $after, $show_count) { global $wpdb; $request = "SELECT ID, p...

connecting to phpMyAdmin database with PHP/MySQL

I've made a database using phpMyAdmin , now I want to make a register form for my site where peaple can register .I know how to work with input tags in HTML and I know how to insert data into a database but my problem is that I don't know how I can connect to the database that is already made in phpMyAdmin. ...

Unable to access MySQL from MyPHPAdmin after setting root password in EasyPHP{WAMP}

Am a new starter with WAMP and trying to play around my way using the EasyPHP setup. After successful setup on intial launch of MySQL, the page prompted me to set up ROOT password for security reasons. On setting the password, am no longer able to access MySQL. The error is : Error MySQL said: Documentation 1045 - Access denied for us...

Cannot Successfully Export And Then ReImport A View In MySql 5

When I export a database on my development PC, for import on my webhost, it contains the following line: -- -- Table structure for table `vi_sr_videntity_0` -- CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY INVOKER VIEW `starrise`.`vi_sr_videntity_0` AS select `starrise`.`t_sr_u_identityfingerprint`.`c_r_Identity` A...

How to create a relation between two tables using PHPMyAdmin?

How to create a relation between two tables using PHPMyAdmin? ...