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.

1a1 and php mysql database - HELP!

Featured Replies

Please help guys,

 

I have experience in database design etc, but not on the 1&1 servers - I am new to it. I am having trouble connecting to the MySQL database i created. I logged into the my administration section and then went to the 'Websites & Applications' section. Next I went into the 'MySQL administration' section. Once here I clicked 'new database'. On thre next screen I entered the DB name, and then on the next page a list of variables were given to me including the ones you need to connect to the DB using MySQL & PHP, these were ....... Database Name, DB User Name, DB Password, Host Name. The problem is I am trying to connect to the database through mySQL-front so that for I know that its possible to connect to the database (without having to test it using PHP code). The problem is that it doesn't even connect to the database using mySQL. I am stumped at what has gone wrong. I read the following at the top of the MySQL administration page:

 

"Your MySQL databases are stored behind a firewall to protect your data. You can only access each one exclusively through your server. Direct access to your MySQL databases using a home PC (external ODBC connection) cannot be established. "

 

Does this mean that you cant connect to the database from outside the control panel/admin section? Is this causing my connection error? Any help would be great as I am really stuck.

 

I just get the following error message -

 

Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

 

Anyone help?

 

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.