Today's Posts Follow Us On Twitter! TFL Members on Twitter  
Forum search: Advanced Search  
Navigation
Marketplace
  Members Login:
Lost password?
  Forum Statistics:
Forum Members: 24,254
Total Threads: 80,792
Total Posts: 566,472
There are 2035 users currently browsing (tf).
 
  Our Partners:
 
  TalkFreelance     Design and Development     Programming     PHP and MySQL :

Importing a MySQL File through PHPMyAdmin

Thread title: Importing a MySQL File through PHPMyAdmin
Closed Thread    
    Thread tools Search this thread Display Modes  
12-10-2006, 06:46 PM
#1
Spawny is offline Spawny
Spawny's Avatar
Status: Request a custom title
Join date: Aug 2005
Location: Great Yarmouth, England
Expertise:
Software:
 
Posts: 1,321
iTrader: 2 / 100%
 

Spawny is on a distinguished road

Send a message via AIM to Spawny Send a message via MSN to Spawny

  Old  Importing a MySQL File through PHPMyAdmin

I'm trying to import a .sql file through PHPMyAdmin but I keep on getting this error message:


#1044 - Access denied for user 'footdinf'@'localhost' to database 'footballmad'
And it is seriously annoying me, could anyone help me here?

12-10-2006, 06:48 PM
#2
Vlux is offline Vlux
Vlux's Avatar
Status: Sin Binner
Join date: Nov 2006
Location: England - Leeds
Expertise:
Software:
 
Posts: 476
iTrader: 0 / 0%
 

Vlux is on a distinguished road

Send a message via MSN to Vlux

  Old

What better way than asking your host?

12-10-2006, 06:54 PM
#3
Dream is offline Dream
Dream's Avatar
Status: Lewis Ainslie
Join date: Dec 2005
Location: UK, England.
Expertise:
Software:
 
Posts: 1,630
iTrader: 15 / 100%
 

Dream is on a distinguished road

Send a message via MSN to Dream

  Old

http://www.google.co.uk/search?clien...=Google+Search

Your best option is to google it, see what other people have experianced and how they fix it.

If not, Ask your host.

12-10-2006, 07:07 PM
#4
Salathe is offline Salathe
Salathe's Avatar
Status: Community Archaeologist
Join date: Jul 2004
Location: Scotland
Expertise: Software Development
Software: vim, PHP
 
Posts: 3,820
iTrader: 25 / 100%
 

Salathe will become famous soon enough

Send a message via MSN to Salathe

  Old

Does the database user footdinf exist?

12-10-2006, 07:18 PM
#5
Spawny is offline Spawny
Spawny's Avatar
Status: Request a custom title
Join date: Aug 2005
Location: Great Yarmouth, England
Expertise:
Software:
 
Posts: 1,321
iTrader: 2 / 100%
 

Spawny is on a distinguished road

Send a message via AIM to Spawny Send a message via MSN to Spawny

  Old

"footdinf" does exist.

12-10-2006, 07:23 PM
#6
Salathe is offline Salathe
Salathe's Avatar
Status: Community Archaeologist
Join date: Jul 2004
Location: Scotland
Expertise: Software Development
Software: vim, PHP
 
Posts: 3,820
iTrader: 25 / 100%
 

Salathe will become famous soon enough

Send a message via MSN to Salathe

  Old

You'll either need to change the .sql file and change the username/password to one that exists or create a new user with that username in cPanel (or your web host's website management application). I could help out if you like, over MSN.

Edit: Misread your post. Still, I could help over MSN.

12-12-2006, 01:48 AM
#7
jono1 is offline jono1
jono1's Avatar
Status: Non-conformist
Join date: Jul 2005
Location: Canberra, Australia.
Expertise:
Software:
 
Posts: 1,172
iTrader: 0 / 0%
 

jono1 is on a distinguished road

  Old

It sounds like your database user doesn't have permissions to import data from a file into the database. There's a pretty easy way around that though - .sql files are plain text, so you could open it up in notepad. All you'd have to do is click on the SQL tab in PHPMyAdmin and copy the contents of the .sql file into the text field you see there and click Go.

12-12-2006, 11:26 PM
#8
monit0r is offline monit0r
Status: Junior Member
Join date: Dec 2006
Location: London
Expertise:
Software:
 
Posts: 71
iTrader: 0 / 0%
 

monit0r is on a distinguished road

  Old

i agree with jono1 and salathe, try running "FLUSH PRIVILEGES;" this will basically refresh all permissions. I would allow full access to the particular account (temporarily). run "GRANT ALL PRIVILEGES ON dbname.* TO user@host;"

unquoted ofcourse let us know how it goes...!

12-14-2006, 02:30 AM
#9
jono1 is offline jono1
jono1's Avatar
Status: Non-conformist
Join date: Jul 2005
Location: Canberra, Australia.
Expertise:
Software:
 
Posts: 1,172
iTrader: 0 / 0%
 

jono1 is on a distinguished road

  Old

If he's running on a webhost then he likely doesn't have the permissions to the GRANT command. For that you'd have to ask the admin. Speaking of, I just realised an easier way of doing this - you could just email your host's support and ask them to import it for you. The process is dead easy - takes about 30sec. I know this because I perform several a day at the webhost I work at .

12-14-2006, 09:29 AM
#10
Spawny is offline Spawny
Spawny's Avatar
Status: Request a custom title
Join date: Aug 2005
Location: Great Yarmouth, England
Expertise:
Software:
 
Posts: 1,321
iTrader: 2 / 100%
 

Spawny is on a distinguished road

Send a message via AIM to Spawny Send a message via MSN to Spawny

  Old

Thanks for the help people, i used jono1's advice and it worked, thanks again.

Closed Thread    


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

  Posting Rules  
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump:
 
  Contains New Posts Forum Contains New Posts   Contains No New Posts Forum Contains No New Posts   A Closed Forum Forum is Closed