PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Sunday, January 23, 2022

[FIXED] Can't add current time-stamp as default in MySql using phpMyAdmin

 January 23, 2022     database, mysql, php, phpmyadmin, timestamp     No comments   

Issue

enter image description here

Trying to create current date column, when I select default 'none' it works. But if I, select current timestamp then, can't create the column.


Solution

You use the unmatched type. Select the type as timestamp not date.

enter image description here

result:

enter image description here



Answered By - LF00
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing