Jump to content
View in the app

A better way to browse. Learn more.

The Uniform Server Community

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.

New user need help with Uniserver 3.3 and MySQL

Featured Replies

Hi. I'm new to programming or at least PHP. I've loaded Uniserver

3.2a previously and now 3.3. I'm having a few problems. The main

problem I'm having is connecting to MySQL. I'm also still getting the

3.2a main page when I go to localhost/a/. Well actually I was looking

for the home page on localhost/ and I got the old 3.2a page showing

the "here has to be your server" page with the reference to the 3.2a

admin page and that was how I discovered the 3.2a admin page was

still there. If it isn't a problem my main concern is connecting to

MySQL. I've tried the PHP manual examples and I keep getting "Call to

undefined function mysql_connect()". I haven't made any config

changes. Am I suppose too? I basically am running the program as was

downloaded from your sight. I'm not sure if I'm suppose to change

anything or do anything to Windows as it mentioned something in the

PHP manual about setting the path to the PHP directory so Windows

could access the mysql dll. Do you have a clue as to what my problem

could be? Please advise. Thanks.

PS I'm using Windows 2006 v3

Hello -

 

in version 3.3 you go to uniform server new admin panel by going to localhost/apanel/ and then in the left menu you should be able to turn on mysql and your scripts should then be able to connect.

 

hth ~ megan

  • Author
Hello -

 

in version 3.3 you go to uniform server new admin panel by going to localhost/apanel/ and then in the left menu you should be able to turn on mysql and your scripts should then be able to connect.

 

hth ~ megan

2927[/snapback]

 

Thanks. I am aware of that. I have been able to turn on MySQL and have run PHP scripts from the server. The problem is that I don't connect when I run a PHP mysql_connect function.

For the 3.2a problem I just wondered why I can still go to the 3.2a window when I'm using 3.3 and have deleted 3.2a from my computer?

ok then if it is not simple and straightforward you will need one of the more knowledgeable people to help you - the only other thing I can think of is when the new package was installed it would have the default password & user id for mysql and if you are using different login and password, you would have to change the defaults to those.

 

I only thought you didn't know about the new apanel url because you did not mention it in your post

 

sorry not to be more help, megan

 

Thanks. I am aware of that. I have been able to turn on MySQL and have run PHP scripts from the server. The problem is that I don't connect when I run a PHP mysql_connect function.

For the 3.2a problem I just wondered why I can still go to the 3.2a window when I'm using 3.3 and have deleted 3.2a from my computer?

2928[/snapback]

  • Author
ok then if it is not simple and straightforward you will need one of the more knowledgeable people to help you - the only other thing I can think of is when the new package was installed it would have the default password & user id for mysql and if you are using different login and password, you would have to change the defaults to those.

 

I only thought you didn't know about the new apanel url because you did not mention it in your post

 

sorry not to be more help, megan

2929[/snapback]

 

OK, thanks for replying so quickly. I have tried the default username password and set up my own username password as well but still didn't work? Maybe I'm getting the syntax wrong but I've tried it several ways?

Ok.. a> make sure you do not have a file called LIBMYSQL.DLL in the C:/Windows or C:/Widows/System32 folder.

 

Also, make sure your code is correct and you do not have a bug in it.

 

Delete 3.2 and just use 3.3. You do not need 3.2....

 

Thanks Megan

  • Author
Ok.. a> make sure you do not have a file called LIBMYSQL.DLL in the C:/Windows or C:/Widows/System32 folder.

 

Also, make sure your code is correct and you do not have a bug in it.

 

Delete 3.2 and just use 3.3. You do not need 3.2....

 

Thanks Megan

2938[/snapback]

Thank you for the input. OK. It's working. I don't know what happened as I didn't do anything except to check one last time to make sure my code didn't work before I sent it to you to check and lo and behold it worked(?) OK.

So as for the 3.2 I already deleted it but I still can get the admin page for it when I go to http://localhost/a/. Of course none of the links work but the page still exist somehow. This may be a dumb question but where is my browser getting the info from for that page if I deleted it? Just curious. It's not a problem and I can live with it but if there is a way to get rid of it can you let me know?

Thanks so much.

  • Author
Your browser might have cached it... Just restart the PC or delete old cached files.

2940[/snapback]

Yes that was it. Thanks for the help.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Account

Navigation

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.