phpmyadmin

phpmyadmin

We're building phpMyAdmin, the most used MySQL management tool.

Member Since 9 years ago

Experience Points
0
follower
Lessons Completed
0
follow
Best Reply Awards
17
repos
Jun
23
7 hours ago
started
started time in 9 minutes ago
Activity icon
fork

Llyguess forked phpmyadmin/phpmyadmin

⚡ A web interface for MySQL and MariaDB
Llyguess GNU General Public License v2.0 Updated
fork time in 46 minutes ago
started
started time in 3 hours ago
Jun
22
1 day ago
push

phpmyadmin-bot push phpmyadmin/composer

phpmyadmin-bot
phpmyadmin-bot

Fix some errors found by PHPStan

Signed-off-by: Maurício Meneghini Fauth mauricio@fauth.dev

phpmyadmin-bot
phpmyadmin-bot

Merge remote-tracking branch 'phpmyadmin/master'

commit sha: e6b695261452f429959b6ce5089a84cf05e951ed

push time in 9 hours ago
push

phpmyadmin-bot push phpmyadmin/composer

phpmyadmin-bot
phpmyadmin-bot

Fix #16935 Remove hardcoded row length

Signed-off-by: Saksham Gupta shucontech@gmail.com

Make changes in default file and docs

Signed-off-by: Saksham Gupta shucontech@gmail.com

phpmyadmin-bot
phpmyadmin-bot

Update psalm to 4.8.0

Signed-off-by: William Desportes williamdes@wdes.fr

phpmyadmin-bot
phpmyadmin-bot

Ignore psalm UnresolvableInclude for routing cache

Signed-off-by: William Desportes williamdes@wdes.fr

phpmyadmin-bot
phpmyadmin-bot

Merge #16949 - Fix #16935 - Remove hardcoded row length

Fixes: #16935 Pull-request: #16949 Signed-off-by: William Desportes williamdes@wdes.fr

phpmyadmin-bot
phpmyadmin-bot

#14379 - Document the change of default value from 2 to 7 for CharTextareaRows

Ref: #16949 Ref: #16935 Pull-request: #14379

Signed-off-by: William Desportes williamdes@wdes.fr

phpmyadmin-bot
phpmyadmin-bot

Add a ChangeLog entry for #16935

Signed-off-by: William Desportes williamdes@wdes.fr

phpmyadmin-bot
phpmyadmin-bot

Fix #16896 - Distinct URLs are broken on nullable text fields

Signed-off-by: William Desportes williamdes@wdes.fr

phpmyadmin-bot
phpmyadmin-bot

Fix two possible PHP errors with int data

Actually, one poped out on tests after #16935 Ref: #14936

Signed-off-by: William Desportes williamdes@wdes.fr

phpmyadmin-bot
phpmyadmin-bot

Fix missing "use function" for apc and uploadprogress extensions

Signed-off-by: William Desportes williamdes@wdes.fr

phpmyadmin-bot
phpmyadmin-bot

Fix tests after #16896

Signed-off-by: William Desportes williamdes@wdes.fr

phpmyadmin-bot
phpmyadmin-bot

Merge remote-tracking branch 'phpmyadmin/QA_5_1' into 5.1.x

commit sha: 51c0accbf50cb212a0f86a146287a707b20d49fe

push time in 9 hours ago
push

mauriciofauth push phpmyadmin/phpmyadmin

mauriciofauth
mauriciofauth

Fix some errors found by PHPStan

Signed-off-by: Maurício Meneghini Fauth mauricio@fauth.dev

commit sha: 8319f88ecf7517eeaf1044b8856f12e8e28128d9

push time in 11 hours ago
started
started time in 11 hours ago
Activity icon
fork

eyeayushkumar forked phpmyadmin/phpmyadmin

⚡ A web interface for MySQL and MariaDB
eyeayushkumar GNU General Public License v2.0 Updated
fork time in 13 hours ago
Activity icon
issue

williamdes issue comment phpmyadmin/phpmyadmin

williamdes
williamdes

Import (e.g. ods) doesn't respect database default collation

having a database with CHARSET=utf8 COLLATE utf8_unicode_ci and importing some data from a file e.g.an ods file imports all tables as utf8_general_ci. Since mysql is very picky on combining tables with different collations, all tables including all columns have to be converted by "hand". Since we have a default on database base, this default should be used as well.

williamdes
williamdes

sorry for the late reply. In 5.1.1 this is still valid. The table is created with the correct collation, but every column gets an alternate collation. => the database default is utf8_unicode_ci each created table has a default to utf8_unicode_ci but the varchar cols get utf8_general_ci

Thank you for the feedback, I will assign it to next 5.1

Activity icon
issue

mokraemer issue comment phpmyadmin/phpmyadmin

mokraemer
mokraemer

Import (e.g. ods) doesn't respect database default collation

having a database with CHARSET=utf8 COLLATE utf8_unicode_ci and importing some data from a file e.g.an ods file imports all tables as utf8_general_ci. Since mysql is very picky on combining tables with different collations, all tables including all columns have to be converted by "hand". Since we have a default on database base, this default should be used as well.

mokraemer
mokraemer

sorry for the late reply. In 5.1.1 this is still valid. The table is created with the correct collation, but every column gets an alternate collation. => the database default is utf8_unicode_ci each created table has a default to utf8_unicode_ci but the varchar cols get utf8_general_ci

Activity icon
issue

toxpal issue comment phpmyadmin/phpmyadmin

toxpal
toxpal

Can't see SQL after adding new column in 5.1.0

Describe the bug

Page refreshes immedaitely back to structure so can't see the SQL that was entered after adding a new column

To Reproduce

Steps to reproduce the behavior:

  1. Go to table structure tab
  2. Click Go to add column
  3. Enter details and click save
  4. Page refreshes immedaitely so can't see the SQL that was entered

Expected behavior

The refresh to the structure view is a good improvement but the SQL should still be displayed as it useful to copy for logging what was done.

Screenshots

Server configuration

  • Operating system: Linux
  • Web server: Apache
  • Database version: 5.5.68-MariaDB
  • PHP version: 7.3.27
  • phpMyAdmin version: 5.1.0

Client configuration

  • Browser: Firefox
  • Operating system: Win 10

Additional context

Add any other context about the problem here.

toxpal
toxpal

The issue still exists in 5.1.1

Activity icon
issue

charlesc-ai issue comment phpmyadmin/docker

charlesc-ai
charlesc-ai

disable auto login

Hi, I have the following phpmyadmin entries in my docker-compose.yml file:

phpmyadmin:
  image: phpmyadmin/phpmyadmin
  restart: always
  links:
    - db
  ports:
    - 8183:80
  environment:
    PMA_USER: root
    PMA_PASSWORD: xxx
    #PMA_ARBITRARY: 1

When I open phpmyadmin is automatically log in.

How is it possible to disable auto login?

Thank you in advance,

Michal

charlesc-ai
charlesc-ai

In order to disable auto login for Phpmyadmin, you should not configure PMA_USER and PMA_PASSWORD, but use MYSQL_USER and MYSQL_PASSWORD, then the Phpmyadmin will ask for login to access the database.

Activity icon
fork

mowaisjoeyco forked phpmyadmin/phpmyadmin

⚡ A web interface for MySQL and MariaDB
mowaisjoeyco GNU General Public License v2.0 Updated
fork time in 21 hours ago
Activity icon
fork

Morben forked phpmyadmin/phpmyadmin

⚡ A web interface for MySQL and MariaDB
Morben GNU General Public License v2.0 Updated
fork time in 22 hours ago
Activity icon
issue

setaou issue comment phpmyadmin/phpmyadmin

setaou
setaou

The char/varchar textarea minimum height is incorrectly fixed to 7 rows

Describe the bug

The char/varchar textarea minimum height is incorrectly fixed to 7 rows

To Reproduce

  1. Configure a small value for $cfg['CharTextareaRows'], like for instance 2 (which is supposed to be the default, according to the documentation)
  2. Open the form to edit or insert a record
  3. Observe that he textarea is 7 rows tall

Expected behavior

The textarea height is supposed to respect the $cfg['CharTextareaRows'] config option.

Additional context

The issue is located at https://github.com/phpmyadmin/phpmyadmin/blob/master/libraries/classes/InsertEdit.php#L584 and has been introduced by PR #14379. Here we can see $textAreaRows = max($GLOBALS['cfg']['CharTextareaRows'], 7);, which actually sets the lower boundary of CharTextareaRows to 7.

setaou
setaou

Hi William, The bug seems fixed in the snapshot. Thanks for the good work !

Activity icon
issue

armenmargaryan issue phpmyadmin/phpmyadmin

armenmargaryan
armenmargaryan

Enum Or Set value save which contian & character

Describe the bug

If enum or set field contain & character it is not possible to save such value from table linar editing. i have tested this beaver on latest phpmyadmin version

To Reproduce

Steps to reproduce the behavior:

  1. create such table with enum or set field type and set value options to be test&test and test2&test
  2. insert few record to test table with values test&test
  3. open this table list page and double click on row enum field and try to choose second option test2&test you will see that instead your chosen test2&test there going to be saved test2& amp;test
  4. ERROR: after trying to save record you will get error or value will be not saved

Expected behavior

Values must be saved

Screenshots

Here is screenshot of save error

issue

Server configuration

  • Operating system: Windows, Linux
  • Web server: apache
  • Database version: tested on mysql 5.7,8.0
  • PHP version: 7.2,7.4
  • phpMyAdmin version: 5.1.0

Client configuration

  • Browser: Firefox and Crome
  • Operating system: Windows
Activity icon
fork

scan3 forked phpmyadmin/phpmyadmin

⚡ A web interface for MySQL and MariaDB
scan3 GNU General Public License v2.0 Updated
fork time in 1 day ago
Jun
21
2 days ago
Activity icon
issue

williamdes issue comment phpmyadmin/phpmyadmin

williamdes
williamdes

The char/varchar textarea minimum height is incorrectly fixed to 7 rows

Describe the bug

The char/varchar textarea minimum height is incorrectly fixed to 7 rows

To Reproduce

  1. Configure a small value for $cfg['CharTextareaRows'], like for instance 2 (which is supposed to be the default, according to the documentation)
  2. Open the form to edit or insert a record
  3. Observe that he textarea is 7 rows tall

Expected behavior

The textarea height is supposed to respect the $cfg['CharTextareaRows'] config option.

Additional context

The issue is located at https://github.com/phpmyadmin/phpmyadmin/blob/master/libraries/classes/InsertEdit.php#L584 and has been introduced by PR #14379. Here we can see $textAreaRows = max($GLOBALS['cfg']['CharTextareaRows'], 7);, which actually sets the lower boundary of CharTextareaRows to 7.

williamdes
williamdes

Hi @setaou I just re-build the snapshot with the fix, could you test it ?

Link: (phpMyAdmin 5.1+snapshot)

Activity icon
issue

williamdes issue comment phpmyadmin/phpmyadmin

williamdes
williamdes

Fix #16935 Remove hardcoded row length

Signed-off-by: Saksham Gupta shucontech@gmail.com

Description

Please describe your pull request.

Fixes #16935

Before submitting pull request, please review the following checklist:

  • Make sure you have read our CONTRIBUTING.md document.
  • Make sure you are making a pull request against the correct branch. For example, for bug fixes in a released version use the corresponding QA branch and for new features use the master branch. If you have a doubt, you can ask as a comment in the bug report or on the mailing list.
  • Every commit has proper Signed-off-by line as described in our DCO. This ensures that the work you're submitting is your own creation.
  • Every commit has a descriptive commit message.
  • Every commit is needed on its own, if you have just minor fixes to previous commits, you can squash them.
  • Any new functionality is covered by tests.
williamdes
williamdes

I added 0c904d6990336a704a2bab97a3d5ea18f20a2264 onto it

pull request

williamdes pull request phpmyadmin/phpmyadmin

williamdes
williamdes

Fix #16935 Remove hardcoded row length

Signed-off-by: Saksham Gupta shucontech@gmail.com

Description

Please describe your pull request.

Fixes #16935

Before submitting pull request, please review the following checklist:

  • Make sure you have read our CONTRIBUTING.md document.
  • Make sure you are making a pull request against the correct branch. For example, for bug fixes in a released version use the corresponding QA branch and for new features use the master branch. If you have a doubt, you can ask as a comment in the bug report or on the mailing list.
  • Every commit has proper Signed-off-by line as described in our DCO. This ensures that the work you're submitting is your own creation.
  • Every commit has a descriptive commit message.
  • Every commit is needed on its own, if you have just minor fixes to previous commits, you can squash them.
  • Any new functionality is covered by tests.
push

williamdes push phpmyadmin/phpmyadmin

williamdes
williamdes

Fix #16935 Remove hardcoded row length

Signed-off-by: Saksham Gupta shucontech@gmail.com

Make changes in default file and docs

Signed-off-by: Saksham Gupta shucontech@gmail.com

williamdes
williamdes

Update psalm to 4.8.0

Signed-off-by: William Desportes williamdes@wdes.fr

williamdes
williamdes

Ignore psalm UnresolvableInclude for routing cache

Signed-off-by: William Desportes williamdes@wdes.fr

williamdes
williamdes

Merge #16949 - Fix #16935 - Remove hardcoded row length

Fixes: #16935 Pull-request: #16949 Signed-off-by: William Desportes williamdes@wdes.fr

williamdes
williamdes

#14379 - Document the change of default value from 2 to 7 for CharTextareaRows

Ref: #16949 Ref: #16935 Pull-request: #14379

Signed-off-by: William Desportes williamdes@wdes.fr

williamdes
williamdes

Add a ChangeLog entry for #16935

Signed-off-by: William Desportes williamdes@wdes.fr

williamdes
williamdes

Fix #16896 - Distinct URLs are broken on nullable text fields

Signed-off-by: William Desportes williamdes@wdes.fr

williamdes
williamdes

Fix two possible PHP errors with int data

Actually, one poped out on tests after #16935 Ref: #14936

Signed-off-by: William Desportes williamdes@wdes.fr

williamdes
williamdes

Fix missing "use function" for apc and uploadprogress extensions

Signed-off-by: William Desportes williamdes@wdes.fr

williamdes
williamdes

Fix tests after #16896

Signed-off-by: William Desportes williamdes@wdes.fr

commit sha: 5e557397b58e5fe7c04ac52bb97149b84e474b85

push time in 1 day ago
push

phpmyadmin-bot push phpmyadmin/composer

phpmyadmin-bot
phpmyadmin-bot

Fix some errors found by Psalm

Signed-off-by: Maurício Meneghini Fauth mauricio@fauth.dev

phpmyadmin-bot
phpmyadmin-bot

Merge remote-tracking branch 'phpmyadmin/master'

commit sha: f0af34782c8e82f18dbfeea8cfc2176509fadff8

push time in 1 day ago
started
started time in 1 day ago
push

mauriciofauth push phpmyadmin/phpmyadmin

mauriciofauth
mauriciofauth

Fix some errors found by Psalm

Signed-off-by: Maurício Meneghini Fauth mauricio@fauth.dev

commit sha: cab899d7b5716559d025a0751ec2b8d763bd5111

push time in 1 day ago
open pull request

williamdes wants to merge phpmyadmin/phpmyadmin

williamdes
williamdes

Enhancement #16699: Designer warns when creating relationships

Designer warns when creating relationships

Signed-off-by: Saksham Gupta shucon01@gmail.com

Description

Please describe your pull request.

Fixes #16699

Before submitting pull request, please review the following checklist:

  • Make sure you have read our CONTRIBUTING.md document.
  • Make sure you are making a pull request against the correct branch. For example, for bug fixes in a released version use the corresponding QA branch and for new features use the master branch. If you have a doubt, you can ask as a comment in the bug report or on the mailing list.
  • Every commit has proper Signed-off-by line as described in our DCO. This ensures that the work you're submitting is your own creation.
  • Every commit has a descriptive commit message.
  • Every commit is needed on its own, if you have just minor fixes to previous commits, you can squash them.
  • Any new functionality is covered by tests.
williamdes
williamdes
pull request

williamdes merge to phpmyadmin/phpmyadmin

williamdes
williamdes

Enhancement #16699: Designer warns when creating relationships

Designer warns when creating relationships

Signed-off-by: Saksham Gupta shucon01@gmail.com

Description

Please describe your pull request.

Fixes #16699

Before submitting pull request, please review the following checklist:

  • Make sure you have read our CONTRIBUTING.md document.
  • Make sure you are making a pull request against the correct branch. For example, for bug fixes in a released version use the corresponding QA branch and for new features use the master branch. If you have a doubt, you can ask as a comment in the bug report or on the mailing list.
  • Every commit has proper Signed-off-by line as described in our DCO. This ensures that the work you're submitting is your own creation.
  • Every commit has a descriptive commit message.
  • Every commit is needed on its own, if you have just minor fixes to previous commits, you can squash them.
  • Any new functionality is covered by tests.
open pull request

williamdes wants to merge phpmyadmin/phpmyadmin

williamdes
williamdes

Enhancement #16699: Designer warns when creating relationships

Designer warns when creating relationships

Signed-off-by: Saksham Gupta shucon01@gmail.com

Description

Please describe your pull request.

Fixes #16699

Before submitting pull request, please review the following checklist:

  • Make sure you have read our CONTRIBUTING.md document.
  • Make sure you are making a pull request against the correct branch. For example, for bug fixes in a released version use the corresponding QA branch and for new features use the master branch. If you have a doubt, you can ask as a comment in the bug report or on the mailing list.
  • Every commit has proper Signed-off-by line as described in our DCO. This ensures that the work you're submitting is your own creation.
  • Every commit has a descriptive commit message.
  • Every commit is needed on its own, if you have just minor fixes to previous commits, you can squash them.
  • Any new functionality is covered by tests.
williamdes
williamdes

I think there is a better Jquery way to do this 🤔

pull request

williamdes merge to phpmyadmin/phpmyadmin

williamdes
williamdes

Enhancement #16699: Designer warns when creating relationships

Designer warns when creating relationships

Signed-off-by: Saksham Gupta shucon01@gmail.com

Description

Please describe your pull request.

Fixes #16699

Before submitting pull request, please review the following checklist:

  • Make sure you have read our CONTRIBUTING.md document.
  • Make sure you are making a pull request against the correct branch. For example, for bug fixes in a released version use the corresponding QA branch and for new features use the master branch. If you have a doubt, you can ask as a comment in the bug report or on the mailing list.
  • Every commit has proper Signed-off-by line as described in our DCO. This ensures that the work you're submitting is your own creation.
  • Every commit has a descriptive commit message.
  • Every commit is needed on its own, if you have just minor fixes to previous commits, you can squash them.
  • Any new functionality is covered by tests.
open pull request

williamdes wants to merge phpmyadmin/phpmyadmin

williamdes
williamdes

Enhancement #16699: Designer warns when creating relationships

Designer warns when creating relationships

Signed-off-by: Saksham Gupta shucon01@gmail.com

Description

Please describe your pull request.

Fixes #16699

Before submitting pull request, please review the following checklist:

  • Make sure you have read our CONTRIBUTING.md document.
  • Make sure you are making a pull request against the correct branch. For example, for bug fixes in a released version use the corresponding QA branch and for new features use the master branch. If you have a doubt, you can ask as a comment in the bug report or on the mailing list.
  • Every commit has proper Signed-off-by line as described in our DCO. This ensures that the work you're submitting is your own creation.
  • Every commit has a descriptive commit message.
  • Every commit is needed on its own, if you have just minor fixes to previous commits, you can squash them.
  • Any new functionality is covered by tests.
williamdes
williamdes
pull request

williamdes merge to phpmyadmin/phpmyadmin

williamdes
williamdes

Enhancement #16699: Designer warns when creating relationships

Designer warns when creating relationships

Signed-off-by: Saksham Gupta shucon01@gmail.com

Description

Please describe your pull request.

Fixes #16699

Before submitting pull request, please review the following checklist:

  • Make sure you have read our CONTRIBUTING.md document.
  • Make sure you are making a pull request against the correct branch. For example, for bug fixes in a released version use the corresponding QA branch and for new features use the master branch. If you have a doubt, you can ask as a comment in the bug report or on the mailing list.
  • Every commit has proper Signed-off-by line as described in our DCO. This ensures that the work you're submitting is your own creation.
  • Every commit has a descriptive commit message.
  • Every commit is needed on its own, if you have just minor fixes to previous commits, you can squash them.
  • Any new functionality is covered by tests.