+ Reply to Thread
Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: How can I create tables for my mySQL Database?

  1. #1
    nyakerz is offline x10Hosting Member nyakerz is an unknown quantity at this point
    Join Date
    Apr 2009
    Posts
    5

    How can I create tables for my mySQL Database?

    I have a website that will utilize mySQL database.

    I've watched the video tutorial and I learn how to create database online but, the video doesn't cover how to create tables for my database.

    Any help would be greatly appreciated.

    -nyakerz

  2. #2
    akkudreamz's Avatar
    akkudreamz is offline x10 Sophmore akkudreamz is an unknown quantity at this point
    Join Date
    Jan 2009
    Location
    Jaipur, Rajasthan, India
    Posts
    183

    Re: How can I create tables for my mySQL Database?

    login to your cpanel
    under the databases section you'll find phpmyadmin click on it
    from there you can create your tables and do other stuff to your database....
    Be safety conscious. 80% of people are caused by accidents.
    My Weblog

  3. #3
    neteater's Avatar
    neteater is offline x10 Lieutenant neteater is an unknown quantity at this point
    Join Date
    Dec 2008
    Location
    some where between CPU and heat sink
    Posts
    377

    Re: How can I create tables for my mySQL Database?

    as i now tables are created automaticaly am i right

  4. #4
    akkudreamz's Avatar
    akkudreamz is offline x10 Sophmore akkudreamz is an unknown quantity at this point
    Join Date
    Jan 2009
    Location
    Jaipur, Rajasthan, India
    Posts
    183

    Re: How can I create tables for my mySQL Database?

    Quote Originally Posted by neteater View Post
    as i now tables are created automaticaly am i right

    yeah!! when you are working with a CMS or another similar tool that comes with an installation script that installs the tables for you
    not otherwise :P
    Last edited by akkudreamz; 04-25-2009 at 07:09 AM.
    Be safety conscious. 80% of people are caused by accidents.
    My Weblog

  5. #5
    freecrm's Avatar
    freecrm is offline x10 Elder freecrm is an unknown quantity at this point
    Join Date
    May 2008
    Location
    UK
    Posts
    629

    Re: How can I create tables for my mySQL Database?

    Either use CMS or get to grips with myphpadmin, which allows you create whatever tables you want, with any field definition.

    I always prefer to use myphpadmin to do back-end work.

  6. #6
    nyakerz is offline x10Hosting Member nyakerz is an unknown quantity at this point
    Join Date
    Apr 2009
    Posts
    5

    Re: How can I create tables for my mySQL Database?

    Hey guys, thanks for the tips. I found it now.


    **EDIT**

    I just wanted to ask a follow up question.

    1. ASP.NET and mySQL needs OdbcConnector for the web application to connect to the database. Is there an OdbcConnector on the server? If there is, what is the version?

    I use odbc connector 3.51.27 that's why I'm thinking if ever, version will make them incompatible.

    2. I wanted to make a site that sends emails to my friends. I've read about several tutorials and tried on my own but none of them works for me. I saw that we, members, have our own mailing system (or whatsoever it is called). How can I utilize that into my ASP.NET 3.5 web application?

    **EDIT**

    I think I'm going to use one of these mail servers:

    Outgoing Mail Server: mail.nyakerz.x10hosting.com (server requires authentication) port 25
    Outgoing Mail Server: (SSL) stoli.x10hosting.com (server requires authentication) port 465

    Most likely the one with the port 25.

    I found a tutorial in the internet about sending email with ASP.NET

    Here is the code:

    web.config:

    <system.net>
    <mailSettings>
    <smtp from="test@foo.com">
    <network host="mail.nyakerz.x10hosting.com" port="25" userName="username" password="password" defaultCredentials="true" />
    </smtp>
    </mailSettings>
    </system.net>
    Main code:

    Try
    Dim message As MailMessage = New MailMessage
    message.From = New MailAddress("geng@nyakerz.x10hosting.com")
    message.To.Add(New MailAddress(txtEmail.Text))
    message.Subject = "Nyakerz"
    message.Body = "Nyakerz"

    Dim client As SmtpClient = New SmtpClient
    client.Send(message)
    Catch ex As Exception
    MsgBox("Sending Failed " & ex.Message)
    End Try
    Error:

    Sending Failed Failure sending mail.
    Last edited by nyakerz; 04-26-2009 at 10:52 AM. Reason: Follow Questions

  7. #7
    freecrm's Avatar
    freecrm is offline x10 Elder freecrm is an unknown quantity at this point
    Join Date
    May 2008
    Location
    UK
    Posts
    629

    Re: How can I create tables for my mySQL Database?

    Can I ask why you are using ASP instead of the usual php?

    php connects naturally with MySQL. ASP ( I Believe) partners naturally with SQL

    If you use php, you don't need to go down the ODBC connector route at all.

    And yes, you can have a php site that sends e-mails to your friends. My site does this as part of user function. (Its Free!)

  8. #8
    nyakerz is offline x10Hosting Member nyakerz is an unknown quantity at this point
    Join Date
    Apr 2009
    Posts
    5

    Re: How can I create tables for my mySQL Database?

    Good question.

    Projects I created usually are desktop applications and I use Visual Basic 6.0 or Visual Basic .NET. This is the first time I will create a web site. I found out that ASP.NET uses codebehind in which I can choose what language to use there whether it is Visual Basic or C#. Then I tried and found it very useful and easy for me since I'm used to coding VB.NET. This is also my first time to use mySQL. I've learned that mySQL is the usual database management system used by most of the websites so I used it, though I usually use SQL Server 2005. One advantage I can see with ASP.NET againt PHP is that ASP.NET is versatile in scripting than PHP. PHP is pure server-side while ASP.NET can be a server-side or client-side. All procedures that need to be done in client are done there and what needs to be done in server is done with the server(I notice that some scripts are converted into javascript). So yeah, in short, I find ASP.NET easier.

  9. #9
    freecrm's Avatar
    freecrm is offline x10 Elder freecrm is an unknown quantity at this point
    Join Date
    May 2008
    Location
    UK
    Posts
    629

    Re: How can I create tables for my mySQL Database?

    If you're this knowledgable, I would definately recommend using myphpadmin as you can customise each table and field to suit your application.

    As you've pointed out, php is server-side and tends to be supplemented with JS for client side processes.

    Unfortunately, I have little knowledge of ASP and can't assist with your ODBC connector.

    There is a bunch of info on the forums at mysql.com

  10. #10
    nyakerz is offline x10Hosting Member nyakerz is an unknown quantity at this point
    Join Date
    Apr 2009
    Posts
    5

    Re: How can I create tables for my mySQL Database?

    Thanks for the reply.

    I think I will have a hard time for this and now another problem arises.
    Server error when I run my aspx file on the server which run days ago without error.

+ Reply to Thread
Page 1 of 2 12 LastLast

Similar Threads

  1. 300 Credits if you can help me out here.
    By MadameSkylark in forum The Marketplace
    Replies: 10
    Last Post: 08-24-2008, 10:51 PM
  2. can't create database, weird. help!
    By snuffle4 in forum Programming Help
    Replies: 3
    Last Post: 02-01-2008, 06:48 PM
  3. MYSQL database
    By cabte in forum Free Hosting
    Replies: 4
    Last Post: 10-06-2007, 06:09 AM
  4. MYSQL Database - Need to remote access
    By auspiex in forum Free Hosting
    Replies: 1
    Last Post: 09-04-2007, 06:42 AM
  5. Could not connect to MySQL database?
    By chiamingen in forum Free Hosting
    Replies: 4
    Last Post: 03-16-2005, 07:12 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers