Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Error SQL query

Featured Replies

Hey,

i'm getting this error i am trying to import a database from my previous server to my new one and am getting this error i am new to web design so am struggling appreciate it alot if anyone could help :D

 

Error

 

SQL query:

 

-- phpMyAdmin SQL Dump

-- version 2.9.2-Debian-1.one.com1

-- http://www.phpmyadmin.net

--

-- Host: MySQL Server

-- Generation Time: Apr 27, 2009 at 08:23 PM

-- Server version: 5.0.32

-- PHP Version: 5.2.0-8+etch13

--

-- Database: `a_sweet_thing_c`

--

CREATE DATABASE `a_sweet_thing_c` DEFAULT CHARACTER SET latin1 COLLATE latin1_swedish_ci;

 

MySQL said: Documentation

#1044 - Access denied for user 'sneakerfreekz_c'@'%' to database 'a_sweet_thing_c'

 

Many thanks ^_^

Hi

 

Could you post the first few lines of your dump file.

 

Pat

  • Author

Many thanks for offering to help but i managed to get the database imported today :)

but i have come across another problem if you could help would appreciate it :D

 

http://www.sneakerfreekz.co.uk/forum/

is the site i want to get working

 

 

http://forum.a-sweet-thing.co.uk

is my old site that i want to transfer to the new server www.sneakerfreekz.co.uk/forum/

 

 

I have exported the database from a-sweet-thing.co.uk

and have imported it into the sneakerfreekz database.

all successfull but it is not displaying anything for sneakerfreekz.co.uk

anyone able to help?

 

Many thanks ^_^

Hi

 

If you look at your source it gives the following error

 

mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: Access denied for user 'a_sweet_thing_c'@'srv133.one.com' (using password: YES)
/customers/sneakerfreekz.co.uk/sneakerfreekz.co.uk/httpd.www/forum/includes/class_core.php on line 312

 

it is referring to the file class_core.php. This file will almost certainly hold the old connection details for the old database, find this file and change your connection settings.

 

Pat

  • Author

Thankyou i will have a look and see how it goes.

Will let you know how it goes

 

Thanks ^_^

  • Author

do you know where abouts in the php file i wud find the connection details cause i cant find them ?? :\

Thanks

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.