Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8519861
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T06:22:16+00:00 2026-06-11T06:22:16+00:00

Problem: The MySQL.NET Connector has an enumeration called MySqlDbType which contains fields like Int16,

  • 0

Problem:

The MySQL.NET Connector has an enumeration called MySqlDbType which contains fields like Int16, Int32, Int64, Guid etc. Whilst I have not tested…something (gut feeling) tells me I cannot do this:

CREATE TABLE MyTable
(
    ID Guid NOT NULL, 
    Age Int32 NOT NULL
);

Question:

Does anyone know of a reference or list where each of the fields/values in MySqlDbType are mapped to their SQL keyword equivalent? Or shed some light on how I might specify column types using the enumeration when creating a table?

As a side note – some of these fields will use parameters, I will need knowledge of these too! i.e. VARCHAR(32) etc.

P.S. Sadly I am not a MySQL (or indeed SQL) expert!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T06:22:18+00:00Added an answer on June 11, 2026 at 6:22 am

    You can make use of Numeric Data Types in MySQL like BIGINT, INT:

    CREATE TABLE MyTable
    (
        ID BIGINT NOT NULL, 
        Age INT NOT NULL
    );
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a problem inserting a row using Entity Framework with the MySQL Connector/NET
I have problem while connecting to mysql database using ADO.NET Driver for MySQL (Connector/NET)
I have a WPF application in which I use entity framework with mysql connector/net
I am using MySQL with the .Net connector on 64 bit Windows. For some
I'm trying to use the MySQL Connector/Net to connect a c# program to a
when I try to connect to my server through MySQL Connector/NET using SSL with
I found this: http://en.wikipedia.org/wiki/MySQL_DataController which lead me to this: https://launchpad.net/datacontroller It looks like a
We have a dot net 2.0 based C# product which uses Mysql as the
I am using MySql .net connector 6.3.6 and Visual Studio 2008 sp1. One of
I'm using MySQL .net connector to fill a Datagridview using Mysqladapter and Datagridview.Bindingsource .

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.