can't create database

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • W.Davis

    #1

    can't create database

    Group,
    I'm using ver 5 with winXP. I can access the test database, but can't create
    a table. I can't create ANY database as I keep getting error 1044 (42000):
    Access denied for user: ' '@'localhost' to database 'mynewdatabase' . Can you
    help?
    TIA,
    Wade


  • Aggro

    #2
    Re: can't create database

    W.Davis wrote:
    [color=blue]
    > Group,
    > I'm using ver 5 with winXP. I can access the test database, but can't create
    > a table. I can't create ANY database as I keep getting error 1044 (42000):
    > Access denied for user: ' '@'localhost' to database 'mynewdatabase' . Can you
    > help?[/color]

    Log in as root user. I assume you are currently logged in as test user
    (test user has no access to create databases).

    If you are using mysql console program, and you have not set up a
    password for root user, you can log in as root like this:

    mysql -u root

    Comment

    • Aggro

      #3
      Re: can't create database

      W.Davis wrote:
      [color=blue]
      > Group,
      > I'm using ver 5 with winXP. I can access the test database, but can't create
      > a table. I can't create ANY database as I keep getting error 1044 (42000):
      > Access denied for user: ' '@'localhost' to database 'mynewdatabase' . Can you
      > help?[/color]

      Log in as root user. I assume you are currently logged in as test user
      (test user has no access to create databases).

      If you are using mysql console program, and you have not set up a
      password for root user, you can log in as root like this:

      mysql -u root

      Comment

      • W.Davis

        #4
        Re: can't create database

        Still doesn't work! The only thing I can work with is the test database. I
        can't create at all. Also, along with this problem, I can't use the source
        command from the console program, it keeps giving me the error that 'table
        mysql.proc doesn't exist'. I tried running mysql_fix_privi leges, but it
        won't run either. I'm on a WinXP box and using version 5.
        Wade



        "Aggro" <spammerdream@y ahoo.com> wrote in message
        news:slwJb.40$M x5.25@read3.ine t.fi...[color=blue]
        > W.Davis wrote:
        >[color=green]
        > > Group,
        > > I'm using ver 5 with winXP. I can access the test database, but can't[/color][/color]
        create[color=blue][color=green]
        > > a table. I can't create ANY database as I keep getting error 1044[/color][/color]
        (42000):[color=blue][color=green]
        > > Access denied for user: ' '@'localhost' to database 'mynewdatabase' . Can[/color][/color]
        you[color=blue][color=green]
        > > help?[/color]
        >
        > Log in as root user. I assume you are currently logged in as test user
        > (test user has no access to create databases).
        >
        > If you are using mysql console program, and you have not set up a
        > password for root user, you can log in as root like this:
        >
        > mysql -u root
        >[/color]


        Comment

        • W.Davis

          #5
          Re: can't create database

          Still doesn't work! The only thing I can work with is the test database. I
          can't create at all. Also, along with this problem, I can't use the source
          command from the console program, it keeps giving me the error that 'table
          mysql.proc doesn't exist'. I tried running mysql_fix_privi leges, but it
          won't run either. I'm on a WinXP box and using version 5.
          Wade



          "Aggro" <spammerdream@y ahoo.com> wrote in message
          news:slwJb.40$M x5.25@read3.ine t.fi...[color=blue]
          > W.Davis wrote:
          >[color=green]
          > > Group,
          > > I'm using ver 5 with winXP. I can access the test database, but can't[/color][/color]
          create[color=blue][color=green]
          > > a table. I can't create ANY database as I keep getting error 1044[/color][/color]
          (42000):[color=blue][color=green]
          > > Access denied for user: ' '@'localhost' to database 'mynewdatabase' . Can[/color][/color]
          you[color=blue][color=green]
          > > help?[/color]
          >
          > Log in as root user. I assume you are currently logged in as test user
          > (test user has no access to create databases).
          >
          > If you are using mysql console program, and you have not set up a
          > password for root user, you can log in as root like this:
          >
          > mysql -u root
          >[/color]


          Comment

          • W.Davis

            #6
            Re: can't create database

            Got some of it. I can now create database. However, I cannot use the source
            command to create my tables. In earlier versions I could do this. What I was
            doing wrong was I was not using the console PROGRAM.... I was only typing
            commands into the WI NDOWS cmd console. But... still the biggest problem is
            not being able to get source command to work.
            Wade

            "Aggro" <spammerdream@y ahoo.com> wrote in message
            news:slwJb.40$M x5.25@read3.ine t.fi...[color=blue]
            > W.Davis wrote:
            >[color=green]
            > > Group,
            > > I'm using ver 5 with winXP. I can access the test database, but can't[/color][/color]
            create[color=blue][color=green]
            > > a table. I can't create ANY database as I keep getting error 1044[/color][/color]
            (42000):[color=blue][color=green]
            > > Access denied for user: ' '@'localhost' to database 'mynewdatabase' . Can[/color][/color]
            you[color=blue][color=green]
            > > help?[/color]
            >
            > Log in as root user. I assume you are currently logged in as test user
            > (test user has no access to create databases).
            >
            > If you are using mysql console program, and you have not set up a
            > password for root user, you can log in as root like this:
            >
            > mysql -u root
            >[/color]


            Comment

            • W.Davis

              #7
              Re: can't create database

              Got some of it. I can now create database. However, I cannot use the source
              command to create my tables. In earlier versions I could do this. What I was
              doing wrong was I was not using the console PROGRAM.... I was only typing
              commands into the WI NDOWS cmd console. But... still the biggest problem is
              not being able to get source command to work.
              Wade

              "Aggro" <spammerdream@y ahoo.com> wrote in message
              news:slwJb.40$M x5.25@read3.ine t.fi...[color=blue]
              > W.Davis wrote:
              >[color=green]
              > > Group,
              > > I'm using ver 5 with winXP. I can access the test database, but can't[/color][/color]
              create[color=blue][color=green]
              > > a table. I can't create ANY database as I keep getting error 1044[/color][/color]
              (42000):[color=blue][color=green]
              > > Access denied for user: ' '@'localhost' to database 'mynewdatabase' . Can[/color][/color]
              you[color=blue][color=green]
              > > help?[/color]
              >
              > Log in as root user. I assume you are currently logged in as test user
              > (test user has no access to create databases).
              >
              > If you are using mysql console program, and you have not set up a
              > password for root user, you can log in as root like this:
              >
              > mysql -u root
              >[/color]


              Comment

              • W.Davis

                #8
                Re: can't create database

                Now isn't this wierd.... since I keep getting the error "1146 table
                mysql.proc does not exist" when I try to run the source command, I said
                'what the hell' and I entered "create table proc (id char(1))" after opening
                the mysql database, and for some reason, I can NOW run the source command.
                Explain that one if you can.
                Wade

                "Aggro" <spammerdream@y ahoo.com> wrote in message
                news:slwJb.40$M x5.25@read3.ine t.fi...[color=blue]
                > W.Davis wrote:
                >[color=green]
                > > Group,
                > > I'm using ver 5 with winXP. I can access the test database, but can't[/color][/color]
                create[color=blue][color=green]
                > > a table. I can't create ANY database as I keep getting error 1044[/color][/color]
                (42000):[color=blue][color=green]
                > > Access denied for user: ' '@'localhost' to database 'mynewdatabase' . Can[/color][/color]
                you[color=blue][color=green]
                > > help?[/color]
                >
                > Log in as root user. I assume you are currently logged in as test user
                > (test user has no access to create databases).
                >
                > If you are using mysql console program, and you have not set up a
                > password for root user, you can log in as root like this:
                >
                > mysql -u root
                >[/color]


                Comment

                • W.Davis

                  #9
                  Re: can't create database

                  Now isn't this wierd.... since I keep getting the error "1146 table
                  mysql.proc does not exist" when I try to run the source command, I said
                  'what the hell' and I entered "create table proc (id char(1))" after opening
                  the mysql database, and for some reason, I can NOW run the source command.
                  Explain that one if you can.
                  Wade

                  "Aggro" <spammerdream@y ahoo.com> wrote in message
                  news:slwJb.40$M x5.25@read3.ine t.fi...[color=blue]
                  > W.Davis wrote:
                  >[color=green]
                  > > Group,
                  > > I'm using ver 5 with winXP. I can access the test database, but can't[/color][/color]
                  create[color=blue][color=green]
                  > > a table. I can't create ANY database as I keep getting error 1044[/color][/color]
                  (42000):[color=blue][color=green]
                  > > Access denied for user: ' '@'localhost' to database 'mynewdatabase' . Can[/color][/color]
                  you[color=blue][color=green]
                  > > help?[/color]
                  >
                  > Log in as root user. I assume you are currently logged in as test user
                  > (test user has no access to create databases).
                  >
                  > If you are using mysql console program, and you have not set up a
                  > password for root user, you can log in as root like this:
                  >
                  > mysql -u root
                  >[/color]


                  Comment

                  Working...